summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-10-17 21:53:37 +0000
committerJohn Crispin <john@openwrt.org>2012-10-17 21:53:37 +0000
commit6993e195328353fe02c525ded684f134edc6e81a (patch)
treecb72e566dacb3d5d160082ac930afc00546f4230 /target/linux/ixp4xx/patches-3.3/520-tw2662_support.patch
parent788a5816ad218c8401db3eccf459e8c55df35458 (diff)
downloadmtk-20170518-6993e195328353fe02c525ded684f134edc6e81a.zip
mtk-20170518-6993e195328353fe02c525ded684f134edc6e81a.tar.gz
mtk-20170518-6993e195328353fe02c525ded684f134edc6e81a.tar.bz2
drop GPIODEV platform code
SVN-Revision: 33825
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 c7940a7..d2fb1f5 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],
+};