drop GPIODEV platform code
[openwrt.git] / target / linux / ixp4xx / patches-3.3 / 520-tw2662_support.patch
index c7940a7..d2fb1f5 100644 (file)
 +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
 + *
 +        },
 +};
 +
-+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,
 +static struct platform_device *tw2662_devices[] __initdata = {
 +      &tw2662_flash,
 +      &tw2662_uart,
-+      &tw2662_gpio,
 +      &tw2662_eth[0],
 +      &tw2662_eth[1],
 +};