summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2013-11-22 16:53:30 +0530
committerScott Wood <scottwood@freescale.com>2014-03-04 17:23:54 -0600
commit2eda892f00fbcf46143326f72e8ac5b472bd225a (patch)
tree3948bfa13bcd2a81c634dfa32b4ee96980626bd8 /drivers
parent6aff05098864233caf9d24cb020e67b00ada4e3e (diff)
downloadu-boot-imx-2eda892f00fbcf46143326f72e8ac5b472bd225a.zip
u-boot-imx-2eda892f00fbcf46143326f72e8ac5b472bd225a.tar.gz
u-boot-imx-2eda892f00fbcf46143326f72e8ac5b472bd225a.tar.bz2
mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/mtd/nand
omap_elm.h is a generic header used by OMAP ELM 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')
-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 55a631d..47b1f1b 100644
--- a/drivers/mtd/nand/omap_elm.c
+++ b/drivers/mtd/nand/omap_elm.c
@@ -17,7 +17,7 @@
#include <asm/io.h>
#include <asm/errno.h>
#include <linux/mtd/omap_gpmc.h>
-#include <asm/omap_elm.h>
+#include <linux/mtd/omap_elm.h>
#include <asm/arch/hardware.h>
#define ELM_DEFAULT_POLY (0)
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
index 452e40f..881a636 100644
--- a/drivers/mtd/nand/omap_gpmc.c
+++ b/drivers/mtd/nand/omap_gpmc.c
@@ -14,7 +14,7 @@
#include <linux/bch.h>
#include <linux/compiler.h>
#include <nand.h>
-#include <asm/omap_elm.h>
+#include <linux/mtd/omap_elm.h>
#define BADBLOCK_MARKER_LENGTH 2
#define SECTOR_BYTES 512