]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: fix implicit use of asm/sizes.h in plat-s5p/dev-onenand.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 23:51:07 +0000 (19:51 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 1 Aug 2011 01:04:37 +0000 (21:04 -0400)
In order to fix this:

  CC      arch/arm/plat-s5p/dev-onenand.o
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)
make[3]: *** [arch/arm/plat-s5p/dev-onenand.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/plat-s5p/dev-onenand.c

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>