summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/samsung.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-05 12:14:17 +0100
committerArnd Bergmann <arnd@arndb.de>2013-04-19 13:51:24 +0200
commit93115b7fa8f4090ecbf247b29992a9454d4f9c22 (patch)
tree33ebaa9623250d9a5ab243c5f030cd30cce35ba3 /drivers/mtd/onenand/samsung.c
parent040f30f34f4ac6fe226992962b1f4b789a7aa551 (diff)
downloadlinux-93115b7fa8f4090ecbf247b29992a9454d4f9c22.tar.bz2
mtd: onenand/samsung: make regs-onenand.h file local
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>
Diffstat (limited to 'drivers/mtd/onenand/samsung.c')
-rw-r--r--drivers/mtd/onenand/samsung.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c
index 33f2a8fb8df9..2cf74085f935 100644
--- a/drivers/mtd/onenand/samsung.c
+++ b/drivers/mtd/onenand/samsung.c
@@ -23,11 +23,11 @@
#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,