mach/clock.h doesn't contain anything useful, remove it and drop its inclusion from files. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/boards/chumby_falconwing/falconwing.c | 1 - arch/arm/boards/crystalfontz-cfa10036/cfa10036.c | 1 - arch/arm/boards/duckbill/board.c | 1 - arch/arm/boards/freescale-mx23-evk/mx23-evk.c | 1 - arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 1 - arch/arm/boards/karo-tx28/tx28-stk5.c | 1 - arch/arm/mach-mxs/clocksource-imx23.c | 1 - arch/arm/mach-mxs/clocksource-imx28.c | 1 - arch/arm/mach-mxs/include/mach/clock.h | 7 ------- drivers/mci/mxs.c | 1 - drivers/serial/serial_auart.c | 2 -- drivers/serial/stm-serial.c | 1 - drivers/spi/mxs_spi.c | 1 - 13 files changed, 20 deletions(-) delete mode 100644 arch/arm/mach-mxs/include/mach/clock.h diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c b/arch/arm/boards/chumby_falconwing/falconwing.c index 82b9415e80..44619d0c24 100644 --- a/arch/arm/boards/chumby_falconwing/falconwing.c +++ b/arch/arm/boards/chumby_falconwing/falconwing.c @@ -16,7 +16,6 @@ #include <asm/mmu.h> #include <generated/mach-types.h> #include <mach/imx-regs.h> -#include <mach/clock.h> #include <mach/mci.h> #include <mach/fb.h> #include <mach/usb.h> diff --git a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c index 5a951d1abf..69ac71b0c3 100644 --- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c +++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c @@ -19,7 +19,6 @@ #include <i2c/i2c-gpio.h> #include <i2c/at24.h> -#include <mach/clock.h> #include <mach/imx-regs.h> #include <mach/iomux.h> #include <mach/mci.h> diff --git a/arch/arm/boards/duckbill/board.c b/arch/arm/boards/duckbill/board.c index dd22c81566..56a4cc1853 100644 --- a/arch/arm/boards/duckbill/board.c +++ b/arch/arm/boards/duckbill/board.c @@ -11,7 +11,6 @@ #include <io.h> #include <net.h> -#include <mach/clock.h> #include <mach/imx-regs.h> #include <mach/iomux-imx28.h> #include <mach/iomux.h> diff --git a/arch/arm/boards/freescale-mx23-evk/mx23-evk.c b/arch/arm/boards/freescale-mx23-evk/mx23-evk.c index b12bb0dd79..b0aa9e1a33 100644 --- a/arch/arm/boards/freescale-mx23-evk/mx23-evk.c +++ b/arch/arm/boards/freescale-mx23-evk/mx23-evk.c @@ -12,7 +12,6 @@ #include <generated/mach-types.h> #include <asm/barebox-arm.h> #include <mach/imx-regs.h> -#include <mach/clock.h> #include <mach/mci.h> #include <usb/fsl_usb2.h> #include <mach/usb.h> diff --git a/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c b/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c index 350576fa52..91151feba1 100644 --- a/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c +++ b/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c @@ -22,7 +22,6 @@ #include <mach/usb.h> #include <generated/mach-types.h> #include <mach/imx-regs.h> -#include <mach/clock.h> #include <mach/mci.h> #include <mach/iomux.h> diff --git a/arch/arm/boards/karo-tx28/tx28-stk5.c b/arch/arm/boards/karo-tx28/tx28-stk5.c index 56211d7a3a..c5e7b1451c 100644 --- a/arch/arm/boards/karo-tx28/tx28-stk5.c +++ b/arch/arm/boards/karo-tx28/tx28-stk5.c @@ -15,7 +15,6 @@ #include <asm/barebox-arm.h> #include <linux/err.h> #include <mach/imx-regs.h> -#include <mach/clock.h> #include <mach/mci.h> #include <mach/fb.h> #include <mach/ocotp.h> diff --git a/arch/arm/mach-mxs/clocksource-imx23.c b/arch/arm/mach-mxs/clocksource-imx23.c index ba5aad9f30..2973422229 100644 --- a/arch/arm/mach-mxs/clocksource-imx23.c +++ b/arch/arm/mach-mxs/clocksource-imx23.c @@ -6,7 +6,6 @@ #include <clock.h> #include <notifier.h> #include <mach/imx23-regs.h> -#include <mach/clock.h> #include <io.h> #define TIMROTCTRL 0x00 diff --git a/arch/arm/mach-mxs/clocksource-imx28.c b/arch/arm/mach-mxs/clocksource-imx28.c index 65d8155ad2..6280cc64fb 100644 --- a/arch/arm/mach-mxs/clocksource-imx28.c +++ b/arch/arm/mach-mxs/clocksource-imx28.c @@ -6,7 +6,6 @@ #include <clock.h> #include <notifier.h> #include <mach/imx28-regs.h> -#include <mach/clock.h> #include <io.h> #define TIMROTCTRL 0x00 diff --git a/arch/arm/mach-mxs/include/mach/clock.h b/arch/arm/mach-mxs/include/mach/clock.h deleted file mode 100644 index 2050b95913..0000000000 --- a/arch/arm/mach-mxs/include/mach/clock.h +++ /dev/null @@ -1,7 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* SPDX-FileCopyrightText: 2010 Juergen Beisert, Pengutronix */ - -#ifndef __MACH_CLOCK_H -# define __MACH_CLOCK_H - -#endif /* __MACH_CLOCK_H */ diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c index 8e0753fe95..6a348e331e 100644 --- a/drivers/mci/mxs.c +++ b/drivers/mci/mxs.c @@ -28,7 +28,6 @@ #include <linux/err.h> #include <asm/bitops.h> #include <mach/mci.h> -#include <mach/clock.h> #include <mach/ssp.h> #define CLOCKRATE_MIN (1 * 1000 * 1000) diff --git a/drivers/serial/serial_auart.c b/drivers/serial/serial_auart.c index a0163bef6f..2ac7349c66 100644 --- a/drivers/serial/serial_auart.c +++ b/drivers/serial/serial_auart.c @@ -36,8 +36,6 @@ #include <linux/clk.h> #include <linux/err.h> -#include <mach/clock.h> - #define HW_UARTAPP_CTRL0 (0x00000000) #define HW_UARTAPP_CTRL2 (0x00000020) diff --git a/drivers/serial/stm-serial.c b/drivers/serial/stm-serial.c index bddb422ac5..e7c04654d2 100644 --- a/drivers/serial/stm-serial.c +++ b/drivers/serial/stm-serial.c @@ -20,7 +20,6 @@ #include <malloc.h> #include <linux/clk.h> #include <linux/err.h> -#include <mach/clock.h> #define UARTDBGDR 0x00 #define UARTDBGFR 0x18 diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index c44f551408..c435e4f22b 100644 --- a/drivers/spi/mxs_spi.c +++ b/drivers/spi/mxs_spi.c @@ -19,7 +19,6 @@ #include <linux/clk.h> #include <linux/err.h> #include <mach/generic.h> -#include <mach/clock.h> #include <mach/ssp.h> #define MXS_SPI_MAX_TIMEOUT (10 * MSECOND) -- 2.30.2