Index: 2.6.13-rc1-mhp1-test1/arch/ppc64/kernel/of_device.c =================================================================== --- 2.6.13-rc1-mhp1-test1.orig/arch/ppc64/kernel/of_device.c 2005-06-29 15:10:57.%N -0500 +++ 2.6.13-rc1-mhp1-test1/arch/ppc64/kernel/of_device.c 2005-08-11 17:20:15.%N -0500 @@ -235,7 +235,6 @@ void of_device_unregister(struct of_devi struct of_device* of_platform_device_create(struct device_node *np, const char *bus_id) { struct of_device *dev; - u32 *reg; dev = kmalloc(sizeof(*dev), GFP_KERNEL); if (!dev) @@ -249,7 +248,6 @@ struct of_device* of_platform_device_cre dev->dev.bus = &of_platform_bus_type; dev->dev.release = of_release_dev; - reg = (u32 *)get_property(np, "reg", NULL); strlcpy(dev->dev.bus_id, bus_id, BUS_ID_SIZE); if (of_device_register(dev) != 0) {