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 5087794f27a8657345862c280e2b0e18fc4d1057..a107708a8561494d7b64b54e42cc9ab9c16e9b2a 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 a80e5dfaa6b750a9d47123d3b0db544fbbea9ac4..badc7819b035302d99dbd14338a8c39f170a56a0 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>