aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-da9055.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-01-11 17:31:39 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-01-11 17:54:54 -0500
commit0a1af1d61edae189b0a81bc46386ab37eb3d9d4d (patch)
tree968338d163b6ef45d158ae24151d83cc88a30577 /drivers/rtc/rtc-da9055.c
parent896f97ea95c1d29c0520ee0766b66b7f64cb967c (diff)
drivers/rtc/rtc-da9055.c: fix cross-section reference
Fix the warning WARNING: drivers/rtc/rtc-da9055.o(.text+0xa71): Section mismatch in reference from the function da9055_rtc_probe() to the function .init.text:da9055_rtc_device_init() Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-da9055.c')
-rw-r--r--drivers/rtc/rtc-da9055.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-da9055.c b/drivers/rtc/rtc-da9055.c
index 96bafc5c3bf8..8f0dcfedb83c 100644
--- a/drivers/rtc/rtc-da9055.c
+++ b/drivers/rtc/rtc-da9055.c
@@ -227,7 +227,7 @@ static const struct rtc_class_ops da9055_rtc_ops = {
227 .alarm_irq_enable = da9055_rtc_alarm_irq_enable, 227 .alarm_irq_enable = da9055_rtc_alarm_irq_enable,
228}; 228};
229 229
230static int __init da9055_rtc_device_init(struct da9055 *da9055, 230static int da9055_rtc_device_init(struct da9055 *da9055,
231 struct da9055_pdata *pdata) 231 struct da9055_pdata *pdata)
232{ 232{
233 int ret; 233 int ret;