summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd/nand
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-09 15:31:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-09 15:31:34 +0000
commite3ad3212171573bcbc31e7fbdafd0b7d347f8038 (patch)
tree768fdea5fc0c885fdc45bc878f92134e371ef46d /target/linux/ar71xx/files/drivers/mtd/nand
parent7a2322730e12e446d203a30cd92f7138d8043e68 (diff)
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd/nand')
-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 5087794f2..a107708a8 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 a80e5dfaa..badc7819b 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>