mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
rtc twl4030: rename ioctl function when RTC_INTF_DEV=n
Fix build error when RTC_INTF_DEV=n: drivers/rtc/rtc-twl4030.c:402: error: 'twl4030_rtc_ioctl' undeclared here (not in a function) make[3]: *** [drivers/rtc/rtc-twl4030.o] Error 1 Signed-off-by: Randy Dunlap <[email protected]> Cc: David Brownell <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: Samuel Ortiz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
beaa4867ee
commit
cc61686001
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ static int twl4030_rtc_ioctl(struct device *dev, unsigned int cmd,
|
|||
}
|
||||
|
||||
#else
|
||||
#define omap_rtc_ioctl NULL
|
||||
#define twl4030_rtc_ioctl NULL
|
||||
#endif
|
||||
|
||||
static irqreturn_t twl4030_rtc_interrupt(int irq, void *rtc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue