aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2009-07-18 17:52:36 +0000
committerAndy Boyett <agb@openwrt.org>2009-07-18 17:52:36 +0000
commit48b4787ea0c8a4975b6d29f8668b70f64c0e41e2 (patch)
treec19354c1b9f260a5e20fd36fcc6fcd9108f03bf0
parentddf4f948effd78a9c40ec904ebe65c470f2ca5cd (diff)
downloadupstream-48b4787ea0c8a4975b6d29f8668b70f64c0e41e2.tar.gz
upstream-48b4787ea0c8a4975b6d29f8668b70f64c0e41e2.tar.bz2
upstream-48b4787ea0c8a4975b6d29f8668b70f64c0e41e2.zip
[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
-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[] = {
+ {