diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-01 19:31:15 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-07 08:00:56 -0600 |
commit | 16a50b666d4aab6f1cb43b8d99a1d259ba04c753 (patch) | |
tree | a5a6aa01087b0cbece31b773d6eb7c0d691128ba /drivers | |
parent | 174f184a84734a20a4d79a23912cc992dda1ce34 (diff) | |
download | u-boot-16a50b666d4aab6f1cb43b8d99a1d259ba04c753.tar.gz |
rtc: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/abx80x.c | 1 | ||||
-rw-r--r-- | drivers/rtc/davinci.c | 1 | ||||
-rw-r--r-- | drivers/rtc/ds1307.c | 2 | ||||
-rw-r--r-- | drivers/rtc/ds1337.c | 2 | ||||
-rw-r--r-- | drivers/rtc/ds1374.c | 2 | ||||
-rw-r--r-- | drivers/rtc/ds3231.c | 2 | ||||
-rw-r--r-- | drivers/rtc/ds3232.c | 1 | ||||
-rw-r--r-- | drivers/rtc/emul_rtc.c | 2 | ||||
-rw-r--r-- | drivers/rtc/ht1380.c | 1 | ||||
-rw-r--r-- | drivers/rtc/i2c_rtc_emul.c | 1 | ||||
-rw-r--r-- | drivers/rtc/isl1208.c | 1 | ||||
-rw-r--r-- | drivers/rtc/m41t62.c | 2 | ||||
-rw-r--r-- | drivers/rtc/mc13xxx-rtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/mc146818.c | 1 | ||||
-rw-r--r-- | drivers/rtc/mcfrtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/mvrtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/mxsrtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/pcf2127.c | 1 | ||||
-rw-r--r-- | drivers/rtc/pcf8563.c | 2 | ||||
-rw-r--r-- | drivers/rtc/pl031.c | 1 | ||||
-rw-r--r-- | drivers/rtc/pt7c4338.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rtc-uclass.c | 1 | ||||
-rw-r--r-- | drivers/rtc/rv3029.c | 1 | ||||
-rw-r--r-- | drivers/rtc/rv8803.c | 1 | ||||
-rw-r--r-- | drivers/rtc/rx8010sj.c | 2 | ||||
-rw-r--r-- | drivers/rtc/rx8025.c | 1 | ||||
-rw-r--r-- | drivers/rtc/s35392a.c | 1 | ||||
-rw-r--r-- | drivers/rtc/sandbox_rtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/stm32_rtc.c | 1 | ||||
-rw-r--r-- | drivers/rtc/zynqmp_rtc.c | 1 |
30 files changed, 9 insertions, 30 deletions
diff --git a/drivers/rtc/abx80x.c b/drivers/rtc/abx80x.c index 823aff03f5f..1235b840ab0 100644 --- a/drivers/rtc/abx80x.c +++ b/drivers/rtc/abx80x.c @@ -12,7 +12,6 @@ * */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <rtc.h> diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c index c7ce41bbf5c..a20b73e1990 100644 --- a/drivers/rtc/davinci.c +++ b/drivers/rtc/davinci.c @@ -4,7 +4,6 @@ * Heiko Schocher <hs@denx.de> * Copyright (C) 2021 Dario Binacchi <dariobin@libero.it> */ -#include <common.h> #include <command.h> #include <dm.h> #include <clk.h> diff --git a/drivers/rtc/ds1307.c b/drivers/rtc/ds1307.c index 0e9d3d24dd8..ba06ff9f0be 100644 --- a/drivers/rtc/ds1307.c +++ b/drivers/rtc/ds1307.c @@ -13,7 +13,7 @@ * based on ds1337.c */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/ds1337.c b/drivers/rtc/ds1337.c index 2c780ab8edf..7eccf1cb8c5 100644 --- a/drivers/rtc/ds1337.c +++ b/drivers/rtc/ds1337.c @@ -11,7 +11,7 @@ * DS1337 Real Time Clock (RTC). */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/ds1374.c b/drivers/rtc/ds1374.c index 89442f9386b..895dbbaf1c7 100644 --- a/drivers/rtc/ds1374.c +++ b/drivers/rtc/ds1374.c @@ -13,7 +13,7 @@ * based on ds1337.c */ -#include <common.h> +#include <config.h> #include <command.h> #include <rtc.h> #include <i2c.h> diff --git a/drivers/rtc/ds3231.c b/drivers/rtc/ds3231.c index bd32ed2dbf9..d6267d660d0 100644 --- a/drivers/rtc/ds3231.c +++ b/drivers/rtc/ds3231.c @@ -14,7 +14,7 @@ * copied from ds1337.c */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/ds3232.c b/drivers/rtc/ds3232.c index 16501cfe5d3..7314ba219da 100644 --- a/drivers/rtc/ds3232.c +++ b/drivers/rtc/ds3232.c @@ -3,7 +3,6 @@ * (C) Copyright 2019, Vaisala Oyj */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/rtc/emul_rtc.c b/drivers/rtc/emul_rtc.c index 6f47d82522b..97a8d9bb7df 100644 --- a/drivers/rtc/emul_rtc.c +++ b/drivers/rtc/emul_rtc.c @@ -5,11 +5,11 @@ * This driver emulates a real time clock based on timer ticks. */ -#include <common.h> #include <div64.h> #include <dm.h> #include <env.h> #include <rtc.h> +#include <time.h> #include <timestamp.h> /** diff --git a/drivers/rtc/ht1380.c b/drivers/rtc/ht1380.c index 85fcee3e71e..c202261e999 100644 --- a/drivers/rtc/ht1380.c +++ b/drivers/rtc/ht1380.c @@ -15,7 +15,6 @@ * */ -#include <common.h> #include <dm.h> #include <rtc.h> #include <bcd.h> diff --git a/drivers/rtc/i2c_rtc_emul.c b/drivers/rtc/i2c_rtc_emul.c index c307d6036dd..ea11c72c964 100644 --- a/drivers/rtc/i2c_rtc_emul.c +++ b/drivers/rtc/i2c_rtc_emul.c @@ -13,7 +13,6 @@ * time-keeping. It does not change the system time. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> diff --git a/drivers/rtc/isl1208.c b/drivers/rtc/isl1208.c index 59a60b75b30..83db505afe9 100644 --- a/drivers/rtc/isl1208.c +++ b/drivers/rtc/isl1208.c @@ -11,7 +11,6 @@ * ISL1208 Real Time Clock (RTC). */ -#include <common.h> #include <command.h> #include <dm.h> #include <rtc.h> diff --git a/drivers/rtc/m41t62.c b/drivers/rtc/m41t62.c index 891fe09d311..7bfea9e0b31 100644 --- a/drivers/rtc/m41t62.c +++ b/drivers/rtc/m41t62.c @@ -16,7 +16,7 @@ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/mc13xxx-rtc.c b/drivers/rtc/mc13xxx-rtc.c index 6c2aef89758..9e396bcdae9 100644 --- a/drivers/rtc/mc13xxx-rtc.c +++ b/drivers/rtc/mc13xxx-rtc.c @@ -3,7 +3,6 @@ * Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de> */ -#include <common.h> #include <rtc.h> #include <spi.h> #include <power/pmic.h> diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index 03ce081d576..c0d86c6d063 100644 --- a/drivers/rtc/mc146818.c +++ b/drivers/rtc/mc146818.c @@ -8,7 +8,6 @@ * Date & Time support for the MC146818 (PIXX4) RTC */ -#include <common.h> #include <command.h> #include <dm.h> #include <rtc.h> diff --git a/drivers/rtc/mcfrtc.c b/drivers/rtc/mcfrtc.c index d2ac889c309..b5cc6b96881 100644 --- a/drivers/rtc/mcfrtc.c +++ b/drivers/rtc/mcfrtc.c @@ -4,7 +4,6 @@ * TsiChung Liew (Tsi-Chung.Liew@freescale.com) */ -#include <common.h> #include <command.h> #include <rtc.h> diff --git a/drivers/rtc/mvrtc.c b/drivers/rtc/mvrtc.c index 50240d57fa9..f070c681b94 100644 --- a/drivers/rtc/mvrtc.c +++ b/drivers/rtc/mvrtc.c @@ -8,7 +8,6 @@ * Date & Time support for Marvell Integrated RTC */ -#include <common.h> #include <command.h> #include <dm.h> #include <rtc.h> diff --git a/drivers/rtc/mxsrtc.c b/drivers/rtc/mxsrtc.c index be899a92540..69d22a4bdcb 100644 --- a/drivers/rtc/mxsrtc.c +++ b/drivers/rtc/mxsrtc.c @@ -6,7 +6,6 @@ * on behalf of DENX Software Engineering GmbH */ -#include <common.h> #include <rtc.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/rtc/pcf2127.c b/drivers/rtc/pcf2127.c index 2f3fafb4968..27a340f07d6 100644 --- a/drivers/rtc/pcf2127.c +++ b/drivers/rtc/pcf2127.c @@ -5,7 +5,6 @@ /* #define DEBUG */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/rtc/pcf8563.c b/drivers/rtc/pcf8563.c index 91a412440b8..03bef68051b 100644 --- a/drivers/rtc/pcf8563.c +++ b/drivers/rtc/pcf8563.c @@ -10,7 +10,7 @@ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/pl031.c b/drivers/rtc/pl031.c index a1d376611d6..855ee913416 100644 --- a/drivers/rtc/pl031.c +++ b/drivers/rtc/pl031.c @@ -6,7 +6,6 @@ * reference linux-2.6.20.6/drivers/rtc/rtc-pl031.c */ -#include <common.h> #include <command.h> #include <dm.h> #include <errno.h> diff --git a/drivers/rtc/pt7c4338.c b/drivers/rtc/pt7c4338.c index e0a7bd3662f..79df07814a6 100644 --- a/drivers/rtc/pt7c4338.c +++ b/drivers/rtc/pt7c4338.c @@ -18,7 +18,7 @@ * It has 56 bytes of nonvolatile RAM. */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/rtc-uclass.c b/drivers/rtc/rtc-uclass.c index e5ae6ea4d5f..8f6c0c6a0a7 100644 --- a/drivers/rtc/rtc-uclass.c +++ b/drivers/rtc/rtc-uclass.c @@ -6,7 +6,6 @@ #define LOG_CATEGORY UCLASS_RTC -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index 9c53c7f7dbc..a82acec6f7e 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -7,7 +7,6 @@ * Michael Buesch <m@bues.ch> */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/rtc/rv8803.c b/drivers/rtc/rv8803.c index 06a4ae89fa9..82b43722ff5 100644 --- a/drivers/rtc/rv8803.c +++ b/drivers/rtc/rv8803.c @@ -10,7 +10,6 @@ * */ -#include <common.h> #include <command.h> #include <dm.h> #include <log.h> diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c index bf93b557748..0d778f4c328 100644 --- a/drivers/rtc/rx8010sj.c +++ b/drivers/rtc/rx8010sj.c @@ -17,7 +17,7 @@ */ #include <command.h> -#include <common.h> +#include <config.h> #include <dm.h> #include <i2c.h> #include <rtc.h> diff --git a/drivers/rtc/rx8025.c b/drivers/rtc/rx8025.c index 1394c2306a4..c7895244283 100644 --- a/drivers/rtc/rx8025.c +++ b/drivers/rtc/rx8025.c @@ -8,7 +8,6 @@ * Epson RX8025 RTC driver. */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h> diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c index 80f55c86233..03fb9a0be91 100644 --- a/drivers/rtc/s35392a.c +++ b/drivers/rtc/s35392a.c @@ -18,7 +18,6 @@ */ #include <command.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <linux/bitrev.h> diff --git a/drivers/rtc/sandbox_rtc.c b/drivers/rtc/sandbox_rtc.c index 657e5c7be2c..4404501c2f6 100644 --- a/drivers/rtc/sandbox_rtc.c +++ b/drivers/rtc/sandbox_rtc.c @@ -4,7 +4,6 @@ * Written by Simon Glass <sjg@chromium.org> */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <rtc.h> diff --git a/drivers/rtc/stm32_rtc.c b/drivers/rtc/stm32_rtc.c index ec7584c3d70..ee70c11c8bc 100644 --- a/drivers/rtc/stm32_rtc.c +++ b/drivers/rtc/stm32_rtc.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_RTC -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> diff --git a/drivers/rtc/zynqmp_rtc.c b/drivers/rtc/zynqmp_rtc.c index ab9b93ca979..15122a04838 100644 --- a/drivers/rtc/zynqmp_rtc.c +++ b/drivers/rtc/zynqmp_rtc.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_RTC -#include <common.h> #include <dm.h> #include <rtc.h> #include <asm/io.h> |