Skip to content

Commit f5bae56

Browse files
vapierDavid Woodhouse
authored andcommitted
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@gentoo.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 58475fb commit f5bae56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/mtd/maps/gpio-addr-flash.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
* Licensed under the GPL-2 or later.
1414
*/
1515

16+
#include <linux/gpio.h>
1617
#include <linux/init.h>
18+
#include <linux/io.h>
1719
#include <linux/kernel.h>
1820
#include <linux/module.h>
1921
#include <linux/mtd/mtd.h>
@@ -23,9 +25,6 @@
2325
#include <linux/platform_device.h>
2426
#include <linux/types.h>
2527

26-
#include <asm/gpio.h>
27-
#include <asm/io.h>
28-
2928
#define pr_devinit(fmt, args...) ({ static const __devinitconst char __fmt[] = fmt; printk(__fmt, ## args); })
3029

3130
#define DRIVER_NAME "gpio-addr-flash"

0 commit comments

Comments
 (0)