export ar231x_gpiodev, needed for gpio-led/spi/i2c modules

SVN-Revision: 16902
This commit is contained in:
Andy Boyett 2009-07-18 17:52:36 +00:00
parent 9f973a6098
commit bab4138b4a
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[] = {
+ { + {