summaryrefslogtreecommitdiff
path: root/target/linux/atheros
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
commitbab4138b4afba954c58e05b296887d4b77b81dbf (patch)
treefacbad3cf754fe2fedfe3ba47aadd1aee1a4f21a /target/linux/atheros
parent9f973a60988dcc98d9ebdc7be16015e555c6c3aa (diff)
downloadmtk-20170518-bab4138b4afba954c58e05b296887d4b77b81dbf.zip
mtk-20170518-bab4138b4afba954c58e05b296887d4b77b81dbf.tar.gz
mtk-20170518-bab4138b4afba954c58e05b296887d4b77b81dbf.tar.bz2
export ar231x_gpiodev, needed for gpio-led/spi/i2c modules
SVN-Revision: 16902
Diffstat (limited to 'target/linux/atheros')
-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 587094d..dda79c9 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 c063fa3..bfa7d6b 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[] = {
+ {