diff options
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/davinci.c | 1 | ||||
-rw-r--r-- | drivers/rtc/ds1302.c | 1 | ||||
-rw-r--r-- | drivers/rtc/ds1306.c | 1 | ||||
-rw-r--r-- | drivers/rtc/imxdi.c | 1 | ||||
-rw-r--r-- | drivers/rtc/max6900.c | 1 | ||||
-rw-r--r-- | drivers/rtc/mvrtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/rv3029.c | 1 | ||||
-rw-r--r-- | drivers/rtc/s35392a.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c index 3514e7351e..c446e7a735 100644 --- a/drivers/rtc/davinci.c +++ b/drivers/rtc/davinci.c @@ -9,6 +9,7 @@ #include <rtc.h> #include <asm/io.h> #include <asm/davinci_rtc.h> +#include <linux/delay.h> int rtc_get(struct rtc_time *tmp) { diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c index b94163f748..189607c3e0 100644 --- a/drivers/rtc/ds1302.c +++ b/drivers/rtc/ds1302.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <rtc.h> +#include <linux/delay.h> /* GPP Pins */ #define DATA 0x200 diff --git a/drivers/rtc/ds1306.c b/drivers/rtc/ds1306.c index 1bd1151e1b..36d615812b 100644 --- a/drivers/rtc/ds1306.c +++ b/drivers/rtc/ds1306.c @@ -18,6 +18,7 @@ #include <command.h> #include <rtc.h> #include <spi.h> +#include <linux/delay.h> #define RTC_SECONDS 0x00 #define RTC_MINUTES 0x01 diff --git a/drivers/rtc/imxdi.c b/drivers/rtc/imxdi.c index 39920f1a7a..e3a1393266 100644 --- a/drivers/rtc/imxdi.c +++ b/drivers/rtc/imxdi.c @@ -16,6 +16,7 @@ #include <command.h> #include <linux/compat.h> #include <rtc.h> +#include <linux/delay.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/rtc/max6900.c b/drivers/rtc/max6900.c index b35186579a..11928839dc 100644 --- a/drivers/rtc/max6900.c +++ b/drivers/rtc/max6900.c @@ -14,6 +14,7 @@ #include <command.h> #include <rtc.h> #include <i2c.h> +#include <linux/delay.h> #ifndef CONFIG_SYS_I2C_RTC_ADDR #define CONFIG_SYS_I2C_RTC_ADDR 0x50 diff --git a/drivers/rtc/mvrtc.c b/drivers/rtc/mvrtc.c index 94a065379c..6f49505d4e 100644 --- a/drivers/rtc/mvrtc.c +++ b/drivers/rtc/mvrtc.c @@ -13,6 +13,7 @@ #include <dm.h> #include <rtc.h> #include <asm/io.h> +#include <linux/delay.h> #include "mvrtc.h" /* This RTC does not support century, so we assume 20 */ diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index 5e1689a91d..9be58425bf 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -15,6 +15,7 @@ #include <log.h> #include <rtc.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define RTC_RV3029_PAGE_LEN 7 diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c index 3bfe481403..80f55c8623 100644 --- a/drivers/rtc/s35392a.c +++ b/drivers/rtc/s35392a.c @@ -23,6 +23,7 @@ #include <i2c.h> #include <linux/bitrev.h> #include <rtc.h> +#include <linux/delay.h> #define S35390A_CHIP_ADDR 0x30 |