]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drivers/rtc/rtc-puv3.c: use dev_dbg() instead of dev_debug() for typo issue
authorChen Gang <gang.chen.5i5j@gmail.com>
Sat, 3 May 2014 05:07:57 +0000 (13:07 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 20 Jun 2014 00:22:38 +0000 (08:22 +0800)
It is only a typo issue, the related commit:

  "ca66ed4 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: 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>
drivers/rtc/rtc-puv3.c

index 1ecfe3bd92ac8c460885114689172ebccbd22b2f..c56310e970e509871f082a247fd108bb396f57bc 100644 (file)
@@ -71,7 +71,7 @@ static int puv3_rtc_setpie(struct device *dev, int enabled)
 {
        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);
        tmp = readl(RTC_RTSR) & ~RTC_RTSR_HZE;