1 --- a/arch/arm/mach-ixp4xx/gateway7001-setup.c
2 +++ b/arch/arm/mach-ixp4xx/gateway7001-setup.c
4 .resource = &gateway7001_uart_resource,
7 +static struct eth_plat_info gateway7001_plat_eth[] = {
19 +static struct platform_device gateway7001_eth[] = {
21 + .name = "ixp4xx_eth",
22 + .id = IXP4XX_ETH_NPEB,
23 + .dev.platform_data = gateway7001_plat_eth,
25 + .name = "ixp4xx_eth",
26 + .id = IXP4XX_ETH_NPEC,
27 + .dev.platform_data = gateway7001_plat_eth + 1,
31 static struct platform_device *gateway7001_devices[] __initdata = {
35 + &gateway7001_eth[0],
36 + &gateway7001_eth[1],
39 static void __init gateway7001_init(void)
40 --- a/arch/arm/mach-ixp4xx/wg302v2-setup.c
41 +++ b/arch/arm/mach-ixp4xx/wg302v2-setup.c
43 .resource = &wg302v2_uart_resource,
46 +static struct eth_plat_info wg302v2_plat_eth[] = {
54 +static struct platform_device wg302v2_eth[] = {
56 + .name = "ixp4xx_eth",
57 + .id = IXP4XX_ETH_NPEB,
58 + .dev.platform_data = wg302v2_plat_eth,
62 static struct platform_device *wg302v2_devices[] __initdata = {
68 static void __init wg302v2_init(void)