summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/tqm8xxl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/tqm8xxl.c')
-rw-r--r--drivers/mtd/maps/tqm8xxl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/maps/tqm8xxl.c b/drivers/mtd/maps/tqm8xxl.c
index 995e9991cb8..4e28b977f22 100644
--- a/drivers/mtd/maps/tqm8xxl.c
+++ b/drivers/mtd/maps/tqm8xxl.c
@@ -27,12 +27,14 @@
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
-#include <asm/io.h>
+#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
+#include <asm/io.h>
+
#define FLASH_ADDR 0x40000000
#define FLASH_SIZE 0x00800000
#define FLASH_BANK_MAX 4