Skip to content

Commit

Permalink
drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue MIME-Version: 1.0
Browse files Browse the repository at this point in the history
It is only a typo issue, the related commit:

  "1fbc4c4 drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug()"

The related error (for unicore32 with allmodconfig):

    CC [M]  drivers/rtc/rtc-puv3.o
  drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setalarm':
  drivers/rtc/rtc-puv3.c:143: error: 'struct device' has no member named 'dev'

Signed-off-by: Chen Gang <[email protected]>
Acked-by: Xuetao Guan <[email protected]>
Signed-off-by: Xuetao Guan <[email protected]>
  • Loading branch information
Chen-Gang authored and gxt committed Jun 20, 2014
1 parent c863810 commit 73fa540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-puv3.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int puv3_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm)
rtc_tm_to_time(tm, &rtcalarm_count);
writel(rtcalarm_count, RTC_RTAR);

puv3_rtc_setaie(&dev->dev, alrm->enabled);
puv3_rtc_setaie(dev, alrm->enabled);

if (alrm->enabled)
enable_irq_wake(puv3_rtc_alarmno);
Expand Down

0 comments on commit 73fa540

Please sign in to comment.