1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 23:29:22 +02:00

[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
This commit is contained in:
agb 2009-07-18 17:52:36 +00:00
parent df7edc24b9
commit 1bb61233b7
2 changed files with 4 additions and 2 deletions

View File

@ -2946,7 +2946,7 @@
+#endif +#endif
--- /dev/null --- /dev/null
+++ b/arch/mips/ar231x/devices.c +++ b/arch/mips/ar231x/devices.c
@@ -0,0 +1,174 @@ @@ -0,0 +1,175 @@
+#include <linux/kernel.h> +#include <linux/kernel.h>
+#include <linux/init.h> +#include <linux/init.h>
+#include <linux/serial.h> +#include <linux/serial.h>
@ -2962,6 +2962,7 @@
+struct ar231x_board_config ar231x_board; +struct ar231x_board_config ar231x_board;
+int ar231x_devtype = DEV_TYPE_UNKNOWN; +int ar231x_devtype = DEV_TYPE_UNKNOWN;
+const struct ar231x_gpiodev *ar231x_gpiodev; +const struct ar231x_gpiodev *ar231x_gpiodev;
+EXPORT_SYMBOL(ar231x_gpiodev);
+ +
+static struct resource ar231x_eth0_res[] = { +static struct resource ar231x_eth0_res[] = {
+ { + {

View File

@ -2929,7 +2929,7 @@
+#endif +#endif
--- /dev/null --- /dev/null
+++ b/arch/mips/ar231x/devices.c +++ b/arch/mips/ar231x/devices.c
@@ -0,0 +1,174 @@ @@ -0,0 +1,175 @@
+#include <linux/kernel.h> +#include <linux/kernel.h>
+#include <linux/init.h> +#include <linux/init.h>
+#include <linux/serial.h> +#include <linux/serial.h>
@ -2945,6 +2945,7 @@
+struct ar231x_board_config ar231x_board; +struct ar231x_board_config ar231x_board;
+int ar231x_devtype = DEV_TYPE_UNKNOWN; +int ar231x_devtype = DEV_TYPE_UNKNOWN;
+const struct ar231x_gpiodev *ar231x_gpiodev; +const struct ar231x_gpiodev *ar231x_gpiodev;
+EXPORT_SYMBOL(ar231x_gpiodev);
+ +
+static struct resource ar231x_eth0_res[] = { +static struct resource ar231x_eth0_res[] = {
+ { + {