aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-02-04 22:48:53 +0000
committerJohn Crispin <blogic@openwrt.org>2011-02-04 22:48:53 +0000
commit5bd97265a1b087d090137104f094a99683a3d8e3 (patch)
tree618b4b87210016d31ae8a3c043e5ff3c44058530 /target/linux
parentddfac6dfd3856a9cf360837e4725edcd78caf793 (diff)
downloadupstream-5bd97265a1b087d090137104f094a99683a3d8e3.tar.gz
upstream-5bd97265a1b087d090137104f094a99683a3d8e3.tar.bz2
upstream-5bd97265a1b087d090137104f094a99683a3d8e3.zip
[lantiq]
* fixes old ifxmips in header file * pass default ebu value to gpio driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25366 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/patches/101-header.patch2
-rw-r--r--target/linux/lantiq/patches/104-board_xway.patch12
2 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/lantiq/patches/101-header.patch b/target/linux/lantiq/patches/101-header.patch
index 28a44a7425..454ed3e95d 100644
--- a/target/linux/lantiq/patches/101-header.patch
+++ b/target/linux/lantiq/patches/101-header.patch
@@ -146,6 +146,6 @@
+ int irq[16];
+};
+
-+extern int (*ifxmips_pci_plat_dev_init)(struct pci_dev *dev);
++extern int (*lqpci_plat_dev_init)(struct pci_dev *dev);
+
+#endif
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 */