[PATCH] drivers/rtc/rtc-pxa.c: fix fix set time sync time issue

From: Olof Johansson
Date: Wed Jan 09 2013 - 15:44:23 EST


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]

Cc: Leo Song <liangs@xxxxxxxxxxx>
Signed-off-by: Olof Johansson <olof@xxxxxxxxx>
---

Andrew, feel free to fold this into the previous patch (it's in mmotm
at the moment).


-Olof

drivers/rtc/rtc-pxa.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c
index 401b679..b7e46297 100644
--- a/drivers/rtc/rtc-pxa.c
+++ b/drivers/rtc/rtc-pxa.c
@@ -19,6 +19,7 @@
*
*/

+#include <linux/delay.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/module.h>
--
1.7.10.1.488.g05fbf7a

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/