drivers/rtc/rtc-da9052.c: fix for rtc device registration
authorAshish Jangam <ashish.jangam@kpitcummins.com>
Fri, 22 Mar 2013 22:04:44 +0000 (15:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Mar 2013 23:41:20 +0000 (16:41 -0700)
commit925e8ea6bca2c9a590565634b27768d7042e089f
tree3028a7dcfd51ed38cc6af8dd3e79e2909ba551f3
parentf9228b204f789493117e458d2fefae937edb7272
drivers/rtc/rtc-da9052.c: fix for rtc device registration

Add support for the virtual irq since now MFD only handles virtual irq
Without this patch rtc device will fail in registration.

(akpm: Ashish has a different version whcih will be needed for 3.8.x and
earlier kernels)

Signed-off-by: Ashish <ashish.jangam@kpitcummins.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-da9052.c