From 1bb61233b7fbb7a04cc76ce9d5b53ee33b42188f Mon Sep 17 00:00:00 2001 From: agb Date: Sat, 18 Jul 2009 17:52:36 +0000 Subject: [PATCH] [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 --- target/linux/atheros/patches-2.6.28/100-board.patch | 3 ++- target/linux/atheros/patches-2.6.30/100-board.patch | 3 ++- 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 587094d26..dda79c906 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 +#include +#include @@ -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 c063fa348..bfa7d6bd8 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 +#include +#include @@ -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[] = { + { -- 2.35.1