From bab4138b4afba954c58e05b296887d4b77b81dbf Mon Sep 17 00:00:00 2001 From: Andy Boyett Date: Sat, 18 Jul 2009 17:52:36 +0000 Subject: [PATCH] export ar231x_gpiodev, needed for gpio-led/spi/i2c modules SVN-Revision: 16902 --- 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 587094d268c..dda79c906f2 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 c063fa348f5..bfa7d6bd871 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.30.2