projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beaa486
)
rtc twl4030: rename ioctl function when RTC_INTF_DEV=n
author
Randy Dunlap
<
[email protected]
>
Tue, 9 Dec 2008 21:14:18 +0000
(13:14 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 10 Dec 2008 16:01:53 +0000
(08:01 -0800)
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]
>
drivers/rtc/rtc-twl4030.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-twl4030.c
b/drivers/rtc/rtc-twl4030.c
index abe87a4d266520d67976ac7f7620cbdfe07446c2..01d8da9afdc8506f0469a3b8a8c6284b98a235fe 100644
(file)
--- a/
drivers/rtc/rtc-twl4030.c
+++ b/
drivers/rtc/rtc-twl4030.c
@@
-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)