mtd/maps: gpio-addr-flash: pull in linux/ headers rather than asm/

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Sep 24 15:59:01 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f5bae56a501347671b18095731d78e13eee5205f
Commit:     f5bae56a501347671b18095731d78e13eee5205f
Parent:     58475fb908485ab38860d6970a8063987fe1d619
Author:     Mike Frysinger <vapier at gentoo.org>
AuthorDate: Thu Sep 24 15:11:37 2009 -0400
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Sep 24 12:50:32 2009 -0700

    mtd/maps: gpio-addr-flash: pull in linux/ headers rather than asm/
    
    Now that there are linux/ versions of gpio.h and io.h, include those
    rather than hitting the asm/ versions.
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/gpio-addr-flash.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/maps/gpio-addr-flash.c b/drivers/mtd/maps/gpio-addr-flash.c
index 44ef9a4..1ad5caf 100644
--- a/drivers/mtd/maps/gpio-addr-flash.c
+++ b/drivers/mtd/maps/gpio-addr-flash.c
@@ -13,7 +13,9 @@
  * Licensed under the GPL-2 or later.
  */
 
+#include <linux/gpio.h>
 #include <linux/init.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/mtd/mtd.h>
@@ -23,9 +25,6 @@
 #include <linux/platform_device.h>
 #include <linux/types.h>
 
-#include <asm/gpio.h>
-#include <asm/io.h>
-
 #define pr_devinit(fmt, args...) ({ static const __devinitconst char __fmt[] = fmt; printk(__fmt, ## args); })
 
 #define DRIVER_NAME "gpio-addr-flash"



More information about the linux-mtd-cvs mailing list