]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
mtd/maps: gpio-addr-flash: pull in linux/ headers rather than asm/
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Sep 2009 19:11:37 +0000 (15:11 -0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 24 Sep 2009 19:50:32 +0000 (12:50 -0700)
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@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/gpio-addr-flash.c

index 44ef9a49a8609b62fc184c254b6fe53b6a618332..1ad5caf9fe693e2fbf500f626bc65ad50c5fbe8d 100644 (file)
@@ -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"