Skip to content

Commit

Permalink
mtd/maps: gpio-addr-flash: pull in linux/ headers rather than asm/
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and David Woodhouse committed Sep 24, 2009
1 parent 58475fb commit f5bae56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/mtd/maps/gpio-addr-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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"
Expand Down

0 comments on commit f5bae56

Please sign in to comment.