drivers/rtc/rtc-s3c.c: fix prototype for s3c_rtc_setaie()
authorAxel Lin <axel.lin@gmail.com>
Sat, 5 Mar 2011 01:36:19 +0000 (17:36 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Mar 2011 01:53:38 +0000 (17:53 -0800)
commit2ec38a0359e227c01080dcd670a0368c61ccd9ce
tree6752b17f6c7333efed5018b18f8fc12dfdd933bb
parent212e3499b2c69cc0899422973310e610d1c0666f
drivers/rtc/rtc-s3c.c: fix prototype for s3c_rtc_setaie()

Fix s3c_rtc_setaie() prototype to eliminate the following compile
warning:

  drivers/rtc/rtc-s3c.c:383: warning: initialization from incompatible pointer type

(akpm: the rtc_class_ops.alarm_irq_enable() handler is being passed two
arguments where it expects just one, presumably with undesired effects)

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c