From: pekon gupta Date: Fri, 22 Nov 2013 11:23:30 +0000 (+0530) Subject: mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/mtd/nand X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2eda892f00fbcf46143326f72e8ac5b472bd225a;p=u-boot.git 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 --- 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 #include #include -#include +#include #include #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 #include #include -#include +#include #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 similarity index 100% rename from arch/arm/include/asm/omap_elm.h rename to include/linux/mtd/omap_elm.h