Commit 476d285c9dfbd58cdc973bd1405f701c50c15af2

Authored by Chen Gang
Committed by Greg Kroah-Hartman
1 parent a5c09d4c03

drivers/rtc/rtc-puv3.c: remove "&dev->" for typo issue

commit 73fa540618d8b1f8c2266934f23bd84bb9e28d9e upstream.

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 <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/rtc/rtc-puv3.c
... ... @@ -140,7 +140,7 @@
140 140 rtc_tm_to_time(tm, &rtcalarm_count);
141 141 writel(rtcalarm_count, RTC_RTAR);
142 142  
143   - puv3_rtc_setaie(&dev->dev, alrm->enabled);
  143 + puv3_rtc_setaie(dev, alrm->enabled);
144 144  
145 145 if (alrm->enabled)
146 146 enable_irq_wake(puv3_rtc_alarmno);