]> 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 Mar 2013 04:08:10 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:17 +0000 (16:34 +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>