]> 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>
Tue, 26 Mar 2013 23:25:31 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:43 +0000 (17:12 +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 f5d9b342d3cdd40a5bc3cc2fb046cad4a0ba8062..72e13dafa9017d7139f50514cd524ba037bbdec4 100644 (file)
@@ -19,6 +19,7 @@
  *
  */
 
+#include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>