--- zzzz-none-000/linux-2.6.19.2/arch/powerpc/platforms/83xx/mpc832x_mds.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/arch/powerpc/platforms/83xx/mpc832x_mds.c 2007-01-11 07:38:19.000000000 +0000 @@ -24,7 +24,6 @@ #include #include -#include #include #include #include @@ -137,24 +136,6 @@ #endif } -static int __init mpc832x_declare_of_platform_devices(void) -{ - struct device_node *np; - - for (np = NULL; (np = of_find_compatible_node(np, "network", - "ucc_geth")) != NULL;) { - int ucc_num; - char bus_id[BUS_ID_SIZE]; - - ucc_num = *((uint *) get_property(np, "device-id", NULL)) - 1; - snprintf(bus_id, BUS_ID_SIZE, "ucc_geth.%u", ucc_num); - of_platform_device_create(np, bus_id, NULL); - } - - return 0; -} -device_initcall(mpc832x_declare_of_platform_devices); - void __init mpc832x_sys_init_IRQ(void) {