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 | |
| parent | 6aff05098864233caf9d24cb020e67b00ada4e3e (diff) | |
| download | olio-uboot-2014.01-2eda892f00fbcf46143326f72e8ac5b472bd225a.tar.xz olio-uboot-2014.01-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>
| -rw-r--r-- | drivers/mtd/nand/omap_elm.c | 2 | ||||
| -rw-r--r-- | drivers/mtd/nand/omap_gpmc.c | 2 | ||||
| -rw-r--r-- | include/linux/mtd/omap_elm.h (renamed from arch/arm/include/asm/omap_elm.h) | 0 | 
3 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index 55a631deb..47b1f1bfe 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 452e40f04..881a63618 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 diff --git a/arch/arm/include/asm/omap_elm.h b/include/linux/mtd/omap_elm.h index 45454eaf0..45454eaf0 100644 --- a/arch/arm/include/asm/omap_elm.h +++ b/include/linux/mtd/omap_elm.h |