diff options
author | pekon gupta <pekon@ti.com> | 2013-11-22 16:53:30 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-03-04 17:23:54 -0600 |
commit | 2eda892f00fbcf46143326f72e8ac5b472bd225a (patch) | |
tree | 3948bfa13bcd2a81c634dfa32b4ee96980626bd8 /drivers/mtd | |
parent | 6aff05098864233caf9d24cb020e67b00ada4e3e (diff) | |
download | talos-obmc-uboot-2eda892f00fbcf46143326f72e8ac5b472bd225a.tar.gz talos-obmc-uboot-2eda892f00fbcf46143326f72e8ac5b472bd225a.zip |
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/mtd')
-rw-r--r-- | drivers/mtd/nand/omap_elm.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/omap_gpmc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index 55a631deb4..47b1f1bfe2 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 452e40f04e..881a63618c 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 |