]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers-rtc-rtc-pxac-fix-set-time-sync-time-issue-fix
authorOlof Johansson <olof@lixom.net>
Wed, 20 Feb 2013 02:15:38 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:22 +0000 (16:53 +1100)
The "fix set time sync time issue" adds calls to udelay(), but
doesn't add the include file. End result is build breakage:

drivers/rtc/rtc-pxa.c: In function 'pxa_rtc_set_time':
drivers/rtc/rtc-pxa.c:267:2: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration]

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Leo Song <liangs@marvell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-pxa.c

index eeadc2872c44e3402d2239e7253ff27dc85f72e3..928b4b5432feac568f29591a5348d7d637190748 100644 (file)
@@ -19,6 +19,7 @@
  *
  */
 
+#include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>