ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
authorGabor Juhos <juhosg@openwrt.org>
Wed, 9 Jun 2010 15:31:34 +0000 (15:31 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 9 Jun 2010 15:31:34 +0000 (15:31 +0000)
SVN-Revision: 21736

target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c

index 5087794..a107708 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
+#include <linux/slab.h>
 
 #include <asm/mach-ar71xx/ar71xx.h>
 
index a80e5df..badc781 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/mtd/partitions.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
+#include <linux/slab.h>
 
 #include <asm/mach-ar71xx/ar71xx.h>
 #include <asm/mach-ar71xx/mach-rb750.h>