ARM: SAMSUNG: Remove hardware.h inclusion
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 20 Mar 2014 19:48:59 +0000 (04:48 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Mar 2014 19:48:59 +0000 (04:48 +0900)
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>
arch/arm/plat-samsung/clock.c
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/init.c
arch/arm/plat-samsung/pm.c
arch/arm/plat-samsung/s5p-dev-uart.c

index ddfebddb4105fd69edcd4e48e00b106265089886..d103ac1a52af8541b43ac3d7fa65a8a91b85ea58 100644 (file)
@@ -43,7 +43,6 @@
 #include <linux/debugfs.h>
 #endif
 
-#include <mach/hardware.h>
 #include <asm/irq.h>
 
 #include <plat/cpu-freq.h>
index c64a39ac1b04ad582f0eba2fc456025afae17df2..ead4f1c94058e1ffff2f5a56a4e650510dc56ec8 100644 (file)
@@ -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>
index 0ffc84aaf60e023f63a7dcc3e16080795552428d..8706c6c4f89495304a997d80f2103cebcaff96b2 100644 (file)
@@ -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>
 
index ae9baa2d638145443e4acb8cfb96e84887030285..d438e77fbf7b4ac99849fd7b62bdeed85070d826 100644 (file)
@@ -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>
index cafa3deddcc1bf4900e5f8a573901d5a86fb4766..8c4487af98c89373ccfa77f639365cc88089e896 100644 (file)
@@ -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>