aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-06-09 15:31:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-06-09 15:31:34 +0000
commit6ce447427c14363b5f39ddeb4a7c86c6fb5a3074 (patch)
tree86666585355af5b9438762d6d61fe33afc736110
parent3e5f4450b5c330297a2067fead5ff946f3905819 (diff)
downloadupstream-6ce447427c14363b5f39ddeb4a7c86c6fb5a3074.tar.gz
upstream-6ce447427c14363b5f39ddeb4a7c86c6fb5a3074.tar.bz2
upstream-6ce447427c14363b5f39ddeb4a7c86c6fb5a3074.zip
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
SVN-Revision: 21736
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c1
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
index 5087794f27..a107708a85 100644
--- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
+++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
@@ -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>
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
index a80e5dfaa6..badc7819b0 100644
--- a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
+++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c
@@ -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>