Patchwork ep93xx: cleanup includes in ts7250 nand driver

login
register
mail settings
Submitter hartleys
Date June 30, 2009, 7:38 p.m.
Message ID <BD79186B4FD85F4B8E60E381CAEE190901A1356B@mi8nycmail19.Mi8.com>
Download mbox | patch
Permalink /patch/29338/
State New
Headers show

Comments

hartleys - June 30, 2009, 7:38 p.m.
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>

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

Ok.

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>