diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-06-09 15:31:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-06-09 15:31:34 +0000 |
commit | c876c558175c133e742010b119ec0b8a98af0892 (patch) | |
tree | 768fdea5fc0c885fdc45bc878f92134e371ef46d /target/linux/ar71xx/files | |
parent | 15c4fa696ff00442cd4c584afec6aa131515ac66 (diff) | |
download | upstream-c876c558175c133e742010b119ec0b8a98af0892.tar.gz upstream-c876c558175c133e742010b119ec0b8a98af0892.tar.bz2 upstream-c876c558175c133e742010b119ec0b8a98af0892.zip |
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')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 1 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c | 1 |
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> |