From: Arnd Bergmann Date: Fri, 16 Mar 2012 19:15:48 +0000 (+0000) Subject: Merge branch 'depends/driver-core' into ux500/dt X-Git-Tag: v3.4-rc1~71^2~3^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab2f75ce55ef6f903348026271e30796f016851f;p=platform%2Fupstream%2Fkernel-adaptation-pc.git Merge branch 'depends/driver-core' into ux500/dt Conflicts: drivers/base/cpu.c --- ab2f75ce55ef6f903348026271e30796f016851f diff --cc drivers/base/cpu.c index 4dabf50,2a0c670..adf937b --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c @@@ -240,10 -222,11 +241,13 @@@ int __cpuinit register_cpu(struct cpu * int error; cpu->node_id = cpu_to_node(num); + memset(&cpu->dev, 0x00, sizeof(struct device)); cpu->dev.id = num; cpu->dev.bus = &cpu_subsys; + cpu->dev.release = cpu_device_release; + #ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE + cpu->dev.bus->uevent = arch_cpu_uevent; + #endif error = device_register(&cpu->dev); if (!error && cpu->hotpluggable) register_cpu_control(cpu);