Skip to contentSkip to conversation

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

PATCH New Olof Johansson 1 participant 1 message Jan 9, 2013 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---

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(+)
drivers/rtc/rtc-pxa.c +1 -0
index 401b679..b7e46297 100644
@@ -19,6 +19,7 @@
  *
  */
 
+#include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/module.h>
Signature · 1 line
1.7.10.1.488.g05fbf7a