]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: fix implicit use of asm/sizes.h in plat-s5p/plat-samsung
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 23:51:07 +0000 (19:51 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 11 Aug 2011 19:10:31 +0000 (15:10 -0400)
To several variations of messages similar to this:

arch/arm/plat-s5p/dev-onenand.c:25: error: 'SZ_128K' undeclared here (not in a function)
arch/arm/plat-s5p/dev-onenand.c:30: error: 'SZ_8K' undeclared here (not in a function)
arch/arm/plat-samsung/dev-wdt.c:25: error: 'SZ_1K' undeclared here (not in a function)
arch/arm/plat-s5p/dev-ehci.c:23: error: 'SZ_256' undeclared here (not in a function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/plat-s5p/dev-ehci.c
arch/arm/plat-s5p/dev-onenand.c
arch/arm/plat-samsung/dev-adc.c
arch/arm/plat-samsung/dev-ide.c
arch/arm/plat-samsung/dev-ts.c
arch/arm/plat-samsung/dev-wdt.c

index 94080fff9e9bda92607558855d4ab89fad9444ad..200abdc9af62dea4987a3eb073aea58554ad3d0d 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <linux/platform_device.h>
+#include <asm/sizes.h>
 #include <mach/irqs.h>
 #include <mach/map.h>
 #include <plat/devs.h>
index 20336c8f247919f359bb22107cb8eadce842e55c..bd26909154ee226e949c0fa7df4272281869c468 100644 (file)
@@ -16,6 +16,8 @@
 #include <linux/kernel.h>
 #include <linux/platform_device.h>
 
+#include <asm/sizes.h>
+
 #include <mach/irqs.h>
 #include <mach/map.h>
 
index 9d903d4095ed9e90e161792b7048b46ad39c590d..16b0f94393136b026f45bf3bf967afee74df7154 100644 (file)
@@ -16,6 +16,8 @@
 #include <mach/irqs.h>
 #include <mach/map.h>
 
+#include <asm/sizes.h>
+
 #include <plat/adc.h>
 #include <plat/devs.h>
 #include <plat/cpu.h>
index b497982795a7a6cfe0304bbfcf14a9a73c7a59c5..5407574556bf1e3fe210600843994f1b724e8c00 100644 (file)
@@ -14,6 +14,8 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 
+#include <asm/sizes.h>
+
 #include <mach/map.h>
 #include <plat/ata.h>
 #include <plat/devs.h>
index 82543f0248ac38ae4f50bfb7b5a102659cf8952f..2dffbec5c74a0ce826294d6e9df2bdb539ee67af 100644 (file)
@@ -20,6 +20,8 @@
 #include <mach/irqs.h>
 #include <mach/map.h>
 
+#include <asm/sizes.h>
+
 #include <plat/devs.h>
 #include <plat/ts.h>
 
index 019b5b8cf14cfbce01d70e91e82f66c931f6dc9a..c746427452732939b9aeb8f5fd685ee79b85fdc7 100644 (file)
@@ -16,6 +16,8 @@
 #include <mach/irqs.h>
 #include <mach/map.h>
 
+#include <asm/sizes.h>
+
 #include <plat/devs.h>
 
 static struct resource s3c_wdt_resource[] = {