From: Randy Dunlap Date: Wed, 6 Feb 2008 09:36:28 +0000 (-0800) Subject: register_cpu __devinit or __cpuinit X-Git-Tag: v2.6.25-rc1~757 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b5f31bbc4d047d048d8635fccdab38ffe6c287;p=linux-2.6 register_cpu __devinit or __cpuinit Is there some reason why register_cpu() is __devinit instead of __cpuinit ? Make it __cpuinit. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index c5885f5ce0..499b003f92 100644 --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c @@ -110,7 +110,7 @@ static SYSDEV_ATTR(crash_notes, 0400, show_crash_notes, NULL); * * Initialize and register the CPU device. */ -int __devinit register_cpu(struct cpu *cpu, int num) +int __cpuinit register_cpu(struct cpu *cpu, int num) { int error; cpu->node_id = cpu_to_node(num);