summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-18 17:52:36 +0000
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-18 17:52:36 +0000
commit1bb61233b7fbb7a04cc76ce9d5b53ee33b42188f (patch)
treec19354c1b9f260a5e20fd36fcc6fcd9108f03bf0 /target/linux
parentdf7edc24b914fba29d912c68d07986c8715c4894 (diff)
[atheros] export ar231x_gpiodev, needed for gpio-led/spi/i2c modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/atheros/patches-2.6.28/100-board.patch3
-rw-r--r--target/linux/atheros/patches-2.6.30/100-board.patch3
2 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.28/100-board.patch b/target/linux/atheros/patches-2.6.28/100-board.patch
index 587094d268..dda79c906f 100644
--- a/target/linux/atheros/patches-2.6.28/100-board.patch
+++ b/target/linux/atheros/patches-2.6.28/100-board.patch
@@ -2946,7 +2946,7 @@
+#endif
--- /dev/null
+++ b/arch/mips/ar231x/devices.c
-@@ -0,0 +1,174 @@
+@@ -0,0 +1,175 @@
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/serial.h>
@@ -2962,6 +2962,7 @@
+struct ar231x_board_config ar231x_board;
+int ar231x_devtype = DEV_TYPE_UNKNOWN;
+const struct ar231x_gpiodev *ar231x_gpiodev;
++EXPORT_SYMBOL(ar231x_gpiodev);
+
+static struct resource ar231x_eth0_res[] = {
+ {
diff --git a/target/linux/atheros/patches-2.6.30/100-board.patch b/target/linux/atheros/patches-2.6.30/100-board.patch
index c063fa348f..bfa7d6bd87 100644
--- a/target/linux/atheros/patches-2.6.30/100-board.patch
+++ b/target/linux/atheros/patches-2.6.30/100-board.patch
@@ -2929,7 +2929,7 @@
+#endif
--- /dev/null
+++ b/arch/mips/ar231x/devices.c
-@@ -0,0 +1,174 @@
+@@ -0,0 +1,175 @@
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/serial.h>
@@ -2945,6 +2945,7 @@
+struct ar231x_board_config ar231x_board;
+int ar231x_devtype = DEV_TYPE_UNKNOWN;
+const struct ar231x_gpiodev *ar231x_gpiodev;
++EXPORT_SYMBOL(ar231x_gpiodev);
+
+static struct resource ar231x_eth0_res[] = {
+ {