[atheros] export ar231x_gpiodev, needed for gpio-led/spi/i2c modules
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches-2.6.28 / 100-board.patch
index 587094d268ca519c3b4174758c75dabe64bcc7b5..dda79c906f2718736ed02e66596564047f11f12e 100644 (file)
 +#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>
 +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[] = {
 +      {