Commit c863810c authored by Chen Gang's avatar Chen Gang Committed by Guan Xuetao

drivers/rtc/rtc-puv3.c: use dev_dbg() instead of dev_debug() for typo issue

It is only a typo issue, the related commit:

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

The related error (unicore32 with allmodconfig):

    CC [M]  drivers/rtc/rtc-puv3.o
  drivers/rtc/rtc-puv3.c: In function 'puv3_rtc_setpie':
  drivers/rtc/rtc-puv3.c:74: error: implicit declaration of function 'dev_debug'
Signed-off-by: default avatarChen Gang <gang.chen.5i5j@gmail.com>
Acked-by: default avatarXuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: default avatarXuetao Guan <gxt@mprc.pku.edu.cn>
parent 312c6df4
...@@ -71,7 +71,7 @@ static int puv3_rtc_setpie(struct device *dev, int enabled) ...@@ -71,7 +71,7 @@ static int puv3_rtc_setpie(struct device *dev, int enabled)
{ {
unsigned int tmp; unsigned int tmp;
dev_debug(dev, "%s: pie=%d\n", __func__, enabled); dev_dbg(dev, "%s: pie=%d\n", __func__, enabled);
spin_lock_irq(&puv3_rtc_pie_lock); spin_lock_irq(&puv3_rtc_pie_lock);
tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE; tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment