summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/umc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/umc.c')
-rw-r--r--arch/x86/kernel/cpu/umc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/umc.c b/arch/x86/kernel/cpu/umc.c
index a7a4e75bdcd7..b1acf08245fb 100644
--- a/arch/x86/kernel/cpu/umc.c
+++ b/arch/x86/kernel/cpu/umc.c
@@ -19,8 +19,5 @@ static struct cpu_dev umc_cpu_dev __cpuinitdata = {
},
};
-int __init umc_init_cpu(void)
-{
- cpu_devs[X86_VENDOR_UMC] = &umc_cpu_dev;
- return 0;
-}
+cpu_vendor_dev_register(X86_VENDOR_UMC, &umc_cpu_dev);
+