summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6/files/drivers
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-24 15:59:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-24 15:59:32 +0000
commit3f52da61813f2c0ffdd62d663b705ae04f3a74e9 (patch)
tree0b11e7fab11a37bb4c0dd5886fb41ac8e3fe5846 /target/linux/ar7-2.6/files/drivers
parentf0cc040988617eacc9d7e950fe43b75399050501 (diff)
fix ar7 compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7331 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/drivers')
-rw-r--r--target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c3
-rw-r--r--target/linux/ar7-2.6/files/drivers/leds/leds-ar7.c3
-rw-r--r--target/linux/ar7-2.6/files/drivers/net/cpmac.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c b/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
index d8dc2e1ff5..df8e7634eb 100644
--- a/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
+++ b/target/linux/ar7-2.6/files/drivers/char/ar7_gpio.c
@@ -30,8 +30,7 @@
#include <linux/types.h>
#include <linux/cdev.h>
-
-#include <asm/gpio.h>
+#include <gpio.h>
#define DRVNAME "ar7_gpio"
#define LONGNAME "TI AR7 GPIOs Driver"
diff --git a/target/linux/ar7-2.6/files/drivers/leds/leds-ar7.c b/target/linux/ar7-2.6/files/drivers/leds/leds-ar7.c
index fbef7d3bbf..2de72ab612 100644
--- a/target/linux/ar7-2.6/files/drivers/leds/leds-ar7.c
+++ b/target/linux/ar7-2.6/files/drivers/leds/leds-ar7.c
@@ -25,8 +25,7 @@
#include <linux/leds.h>
#include <linux/err.h>
#include <asm/io.h>
-
-#include <asm/gpio.h>
+#include <gpio.h>
#define DRVNAME "ar7-leds"
#define LONGNAME "TI AR7 LEDs driver"
diff --git a/target/linux/ar7-2.6/files/drivers/net/cpmac.c b/target/linux/ar7-2.6/files/drivers/net/cpmac.c
index 4d957f0113..e0c49b7083 100644
--- a/target/linux/ar7-2.6/files/drivers/net/cpmac.c
+++ b/target/linux/ar7-2.6/files/drivers/net/cpmac.c
@@ -38,7 +38,7 @@
#include <linux/phy.h>
#include <linux/platform_device.h>
#include <asm/ar7/ar7.h>
-#include <asm/gpio.h>
+#include <gpio.h>
MODULE_AUTHOR("Eugene Konev");
MODULE_DESCRIPTION("TI AR7 ethernet driver (CPMAC)");