mtd: ep93xx: cleanup includes in ts7250 nand driver

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Sep 4 04:59:02 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=44a1f2085e8fe07b3aecdab7c391ca057d75da0f
Commit:     44a1f2085e8fe07b3aecdab7c391ca057d75da0f
Parent:     dff1550986a4c0e2a4e857c9085ef3cb66b2cec5
Author:     H Hartley Sweeten <hartleys at visionengravers.com>
AuthorDate: Tue Jun 30 15:38:00 2009 -0400
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Sep 4 09:35:12 2009 +0100

    mtd: ep93xx: cleanup includes in ts7250 nand driver
    
    1. <linux/io.h> should be included not <asm/io.h>
    2. add platform specific header <mach/ts72xx.h>
    
    Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
    Cc: Lennert Buytenhek <buytenh at wantstofly.org>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/ts7250.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/ts7250.c b/drivers/mtd/nand/ts7250.c
index 2c410a0..0f5562a 100644
--- a/drivers/mtd/nand/ts7250.c
+++ b/drivers/mtd/nand/ts7250.c
@@ -24,8 +24,11 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>
-#include <asm/io.h>
+#include <linux/io.h>
+
 #include <mach/hardware.h>
+#include <mach/ts72xx.h>
+
 #include <asm/sizes.h>
 #include <asm/mach-types.h>
 



More information about the linux-mtd-cvs mailing list