X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fixp4xx%2Fpatches-3.3%2F520-tw2662_support.patch;h=d2fb1f5207c88c59948e8ebb9acd15fdb228bf16;hb=b4260e22f397fe98612083d43bb52633bd4b5702;hp=edce4771bfff5589302fbdf30e85f32bec0b9ff7;hpb=2ff0c7f1293de3427c2e137f028dbe0b18323adc;p=openwrt.git 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 edce4771bf..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,212 @@ +@@ -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], +}; @@ -329,5 +321,6 @@ +#if defined(CONFIG_PCI) + .dma_zone_size = SZ_64M, +#endif ++ .restart = ixp4xx_restart, +MACHINE_END +#endif