[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1357764208-12714-1-git-send-email-olof@lixom.net>
Date: Wed, 9 Jan 2013 12:43:28 -0800
From: Olof Johansson <olof@...om.net>
To: akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, Olof Johansson <olof@...om.net>,
Leo Song <liangs@...vell.com>
Subject: [PATCH] drivers/rtc/rtc-pxa.c: fix fix set time sync time issue
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@...vell.com>
Signed-off-by: Olof Johansson <olof@...om.net>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists