]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mtd: onenand/samsung: make regs-onenand.h file local
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Mar 2013 11:14:17 +0000 (12:14 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 11:51:24 +0000 (13:51 +0200)
Nothing uses the NAND register definitions other than the
actual driver, so we can move the header file into the
same local directory, which lets us build it in a multiplatform
configuration.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: linux-mtd@lists.infradead.org
Cc: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/samsung.c
drivers/mtd/onenand/samsung.h [moved from arch/arm/plat-samsung/include/plat/regs-onenand.h with 98% similarity]

index 33f2a8fb8df9a86d524f600c9c0ea973344a02c9..2cf74085f93524c784f9adc3c3920713da570f5a 100644 (file)
 #include <linux/mtd/partitions.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 
 #include <asm/mach/flash.h>
-#include <plat/regs-onenand.h>
 
-#include <linux/io.h>
+#include "samsung.h"
 
 enum soc_type {
        TYPE_S3C6400,
similarity index 98%
rename from arch/arm/plat-samsung/include/plat/regs-onenand.h
rename to drivers/mtd/onenand/samsung.h
index 930ea8b88ed3b15dea01f98e1a1a81b8e7e40d8e..c4a80e67e438cf1656e42ccf38c4d57faf26947f 100644 (file)
@@ -11,8 +11,6 @@
 #ifndef __SAMSUNG_ONENAND_H__
 #define __SAMSUNG_ONENAND_H__
 
-#include <mach/hardware.h>
-
 /*
  * OneNAND Controller
  */