Просмотр исходного кода

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>
Arnd Bergmann 13 лет назад
Родитель
Сommit
93115b7fa8
2 измененных файлов с 2 добавлено и 4 удалено
  1. 2 2
      drivers/mtd/onenand/samsung.c
  2. 0 2
      drivers/mtd/onenand/samsung.h

+ 2 - 2
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,

+ 0 - 2
arch/arm/plat-samsung/include/plat/regs-onenand.h → drivers/mtd/onenand/samsung.h

@@ -11,8 +11,6 @@
 #ifndef __SAMSUNG_ONENAND_H__
 #define __SAMSUNG_ONENAND_H__
 
-#include <mach/hardware.h>
-
 /*
  * OneNAND Controller
  */