diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-03-21 04:48:59 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-03-21 04:48:59 +0900 |
commit | 2bb1ad17d66da3549eb4d23e264786a98f9ab17b (patch) | |
tree | 1353ed00571b54339ad07f26b4a9ce10b9b932b0 | |
parent | 144bf7b0a96e28266c6b2f47a6e04c7a4e4b3aa4 (diff) | |
download | talos-op-linux-2bb1ad17d66da3549eb4d23e264786a98f9ab17b.tar.gz talos-op-linux-2bb1ad17d66da3549eb4d23e264786a98f9ab17b.zip |
ARM: SAMSUNG: Remove hardware.h inclusion
The contents of this header file are not referenced anywhere in the
included .c files except in devs.c. Remove its inclusion. For devs.c,
explicitly include sizes.h header for SZ_* macros.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/plat-samsung/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/init.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/pm.c | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-dev-uart.c | 1 |
5 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/plat-samsung/clock.c b/arch/arm/plat-samsung/clock.c index ddfebddb4105..d103ac1a52af 100644 --- a/arch/arm/plat-samsung/clock.c +++ b/arch/arm/plat-samsung/clock.c @@ -43,7 +43,6 @@ #include <linux/debugfs.h> #endif -#include <mach/hardware.h> #include <asm/irq.h> #include <plat/cpu-freq.h> diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index c64a39ac1b04..ead4f1c94058 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -31,6 +31,7 @@ #include <linux/mtd/partitions.h> #include <linux/mmc/host.h> #include <linux/ioport.h> +#include <linux/sizes.h> #include <linux/platform_data/s3c-hsudc.h> #include <linux/platform_data/s3c-hsotg.h> #include <linux/platform_data/dma-s3c24xx.h> @@ -42,7 +43,6 @@ #include <asm/mach/map.h> #include <asm/mach/irq.h> -#include <mach/hardware.h> #include <mach/dma.h> #include <mach/irqs.h> #include <mach/map.h> diff --git a/arch/arm/plat-samsung/init.c b/arch/arm/plat-samsung/init.c index 0ffc84aaf60e..8706c6c4f894 100644 --- a/arch/arm/plat-samsung/init.c +++ b/arch/arm/plat-samsung/init.c @@ -25,8 +25,6 @@ #include <linux/platform_device.h> #include <linux/of.h> -#include <mach/hardware.h> - #include <asm/mach/arch.h> #include <asm/mach/map.h> diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index ae9baa2d6381..d438e77fbf7b 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c @@ -25,7 +25,6 @@ #include <asm/suspend.h> #ifdef CONFIG_SAMSUNG_ATAGS -#include <mach/hardware.h> #include <mach/map.h> #ifndef CONFIG_ARCH_EXYNOS #include <mach/regs-clock.h> diff --git a/arch/arm/plat-samsung/s5p-dev-uart.c b/arch/arm/plat-samsung/s5p-dev-uart.c index cafa3deddcc1..8c4487af98c8 100644 --- a/arch/arm/plat-samsung/s5p-dev-uart.c +++ b/arch/arm/plat-samsung/s5p-dev-uart.c @@ -18,7 +18,6 @@ #include <asm/mach/arch.h> #include <asm/mach/irq.h> -#include <mach/hardware.h> #include <mach/map.h> #include <plat/devs.h> |