]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mtd: nand: omap: move omap_elm.h from arch/arm/include/asm to drivers/mtd/nand
authorpekon gupta <pekon@ti.com>
Fri, 22 Nov 2013 11:23:30 +0000 (16:53 +0530)
committerScott Wood <scottwood@freescale.com>
Tue, 4 Mar 2014 23:23:54 +0000 (17:23 -0600)
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>
drivers/mtd/nand/omap_elm.c
drivers/mtd/nand/omap_gpmc.c
include/linux/mtd/omap_elm.h [moved from arch/arm/include/asm/omap_elm.h with 100% similarity]

index 55a631deb4a5f2ba728585fe336aa8fd03e44d2c..47b1f1bfe27b0dbbb50efa32363fc1f58c93b04d 100644 (file)
@@ -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)
index 452e40f04ef5301bbc547b3b5cddf8123d730e3d..881a63618c3205786fbc866b5b2b3d90af240024 100644 (file)
@@ -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