[MTD] [NAND] OMAP: OneNAND: header file relocation (part 2)

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Nov 26 05:59:01 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=cbbd695687caab1082a70d2ae81153fdba7e851c
Commit:     cbbd695687caab1082a70d2ae81153fdba7e851c
Parent:     fe875358a6cd01c4599e321dd6dc767b11c42eac
Author:     Adrian Hunter <ext-adrian.hunter at nokia.com>
AuthorDate: Mon Nov 24 14:44:36 2008 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Nov 26 10:08:13 2008 +0000

    [MTD] [NAND] OMAP: OneNAND: header file relocation (part 2)
    
    Include <linux/dma-mapping.h> and <linux/io.h>, not files from <asm/*>
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/onenand/omap2.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c
index 28034ef..a7e4d98 100644
--- a/drivers/mtd/onenand/omap2.c
+++ b/drivers/mtd/onenand/omap2.c
@@ -32,16 +32,15 @@
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
+#include <linux/dma-mapping.h>
+#include <linux/io.h>
 
-#include <asm/io.h>
 #include <asm/mach/flash.h>
 #include <mach/gpmc.h>
 #include <mach/onenand.h>
 #include <mach/gpio.h>
 #include <mach/pm.h>
 
-#include <linux/dma-mapping.h>
-#include <asm/dma-mapping.h>
 #include <mach/dma.h>
 
 #include <mach/board.h>



More information about the linux-mtd-cvs mailing list