summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2013-11-22 16:53:29 +0530
committerScott Wood <scottwood@freescale.com>2014-03-04 17:23:54 -0600
commit6aff05098864233caf9d24cb020e67b00ada4e3e (patch)
tree5cd70418a328345efc36a0bf6fd108d1935a370c /drivers/mtd
parent51d192c40daa2b58cfc96c772799d9c632df33e3 (diff)
downloadu-boot-imx-6aff05098864233caf9d24cb020e67b00ada4e3e.zip
u-boot-imx-6aff05098864233caf9d24cb020e67b00ada4e3e.tar.gz
u-boot-imx-6aff05098864233caf9d24cb020e67b00ada4e3e.tar.bz2
mtd: nand: omap: move omap_gpmc.h from arch/arm/include/asm to drivers/mtd/nand
omap_gpmc.h is a generic header used by OMAP NAND driver for all TI platfoms. Hence this file should be present in generic folder instead of architecture specific include folder. Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5 Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/omap_elm.c2
-rw-r--r--drivers/mtd/nand/omap_gpmc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c
index 64dca4f..55a631d 100644
--- a/drivers/mtd/nand/omap_elm.c
+++ b/drivers/mtd/nand/omap_elm.c
@@ -16,7 +16,7 @@
#include <common.h>
#include <asm/io.h>
#include <asm/errno.h>
-#include <asm/omap_gpmc.h>
+#include <linux/mtd/omap_gpmc.h>
#include <asm/omap_elm.h>
#include <asm/arch/hardware.h>
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
index b54e39e..452e40f 100644
--- a/drivers/mtd/nand/omap_gpmc.c
+++ b/drivers/mtd/nand/omap_gpmc.c
@@ -9,7 +9,7 @@
#include <asm/io.h>
#include <asm/errno.h>
#include <asm/arch/mem.h>
-#include <asm/omap_gpmc.h>
+#include <linux/mtd/omap_gpmc.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/bch.h>
#include <linux/compiler.h>