aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-10-17 21:53:37 +0000
committerJohn Crispin <blogic@openwrt.org>2012-10-17 21:53:37 +0000
commitfb47a917c207afa0631518b0b7a80e19ac0c796d (patch)
tree7119a1430707d10597e1c1a4cb2d4189cb396fbd /target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
parentc921e6607e2a0db1af65834d172f83d59268b71e (diff)
downloadupstream-fb47a917c207afa0631518b0b7a80e19ac0c796d.tar.gz
upstream-fb47a917c207afa0631518b0b7a80e19ac0c796d.tar.bz2
upstream-fb47a917c207afa0631518b0b7a80e19ac0c796d.zip
drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch')
-rw-r--r--target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch10
1 files changed, 1 insertions, 9 deletions
diff --git a/target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch b/target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
index c7940a7696..d2fb1f5207 100644
--- a/target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
+++ b/target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
@@ -118,7 +118,7 @@
+subsys_initcall(tw2662_pci_init);
--- /dev/null
+++ b/arch/arm/mach-ixp4xx/tw2662-setup.c
-@@ -0,0 +1,213 @@
+@@ -0,0 +1,205 @@
+/*
+ * arch/arm/mach-ixp4xx/tw2662-setup.c
+ *
@@ -185,13 +185,6 @@
+ },
+};
+
-+static struct platform_device tw2662_gpio = {
-+ .name = "GPIODEV",
-+ .id = -1,
-+ .num_resources = ARRAY_SIZE(tw2662_gpio_resources),
-+ .resource = tw2662_gpio_resources,
-+};
-+
+static struct resource tw2662_uart_resources[] = {
+ {
+ .start = IXP4XX_UART1_BASE_PHYS,
@@ -264,7 +257,6 @@
+static struct platform_device *tw2662_devices[] __initdata = {
+ &tw2662_flash,
+ &tw2662_uart,
-+ &tw2662_gpio,
+ &tw2662_eth[0],
+ &tw2662_eth[1],
+};