Skip to content

Commit

Permalink
drivers/rtc/rtc-da9055.c: fix cross-section reference
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jan 11, 2013
1 parent 896f97e commit 0a1af1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-da9055.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ static const struct rtc_class_ops da9055_rtc_ops = {
.alarm_irq_enable = da9055_rtc_alarm_irq_enable,
};

static int __init da9055_rtc_device_init(struct da9055 *da9055,
static int da9055_rtc_device_init(struct da9055 *da9055,
struct da9055_pdata *pdata)
{
int ret;
Expand Down

0 comments on commit 0a1af1d

Please sign in to comment.