diff mbox

ep93xx: cleanup includes in ts7250 nand driver

Message ID BD79186B4FD85F4B8E60E381CAEE190901A1356B@mi8nycmail19.Mi8.com
State Accepted
Commit 44a1f2085e8fe07b3aecdab7c391ca057d75da0f
Headers show

Commit Message

Hartley Sweeten June 30, 2009, 7:38 p.m. UTC
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@visionengravers.com>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>

---

Comments

Russell King - ARM Linux July 5, 2009, 8:03 a.m. UTC | #1
On Tue, Jun 30, 2009 at 03:38:00PM -0400, H Hartley Sweeten wrote:
> ep93xx: cleanup includes in ts7250 nand driver

Ok.
diff mbox

Patch

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>