aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/104-board_xway.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-02-04 22:48:53 +0000
committerJohn Crispin <john@openwrt.org>2011-02-04 22:48:53 +0000
commit752dcaeaf4c17c7688e03d9e8aba05e84ea6fb0a (patch)
treeb08195a4aee9a91114606495da53221bae9a0217 /target/linux/lantiq/patches/104-board_xway.patch
parent640f3eb0b46ab96bb5cc9acc06369e081df97de1 (diff)
downloadupstream-752dcaeaf4c17c7688e03d9e8aba05e84ea6fb0a.tar.gz
upstream-752dcaeaf4c17c7688e03d9e8aba05e84ea6fb0a.tar.bz2
upstream-752dcaeaf4c17c7688e03d9e8aba05e84ea6fb0a.zip
* fixes old ifxmips in header file * pass default ebu value to gpio driver
SVN-Revision: 25366
Diffstat (limited to 'target/linux/lantiq/patches/104-board_xway.patch')
-rw-r--r--target/linux/lantiq/patches/104-board_xway.patch12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/lantiq/patches/104-board_xway.patch b/target/linux/lantiq/patches/104-board_xway.patch
index fcd9c0e326..ad434aa46b 100644
--- a/target/linux/lantiq/patches/104-board_xway.patch
+++ b/target/linux/lantiq/patches/104-board_xway.patch
@@ -615,7 +615,7 @@
+}
--- /dev/null
+++ b/arch/mips/lantiq/xway/devices.c
-@@ -0,0 +1,305 @@
+@@ -0,0 +1,313 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
@@ -787,10 +787,18 @@
+ .flags = IORESOURCE_MEM,
+};
+
++static struct platform_device lq_ebu =
++{
++ .name = "lq_ebu",
++ .resource = &lq_ebu_resource,
++ .num_resources = 1,
++};
++
+void __init
+lq_register_gpio_ebu(unsigned int value)
+{
-+ platform_device_register_simple("lq_ebu", 0, &lq_ebu_resource, 1);
++ lq_ebu.dev.platform_data = (void*) value;
++ platform_device_register(&lq_ebu);
+}
+
+/* ethernet */