[1/2] cpu: Remove bogus __ref annotation of cpu_subsys_online()
diff mbox series

Message ID 1437329182-4549-2-git-send-email-minipli@googlemail.com
State New, archived
Headers show
  • cpu: __ref cleanups
Related show

Commit Message

Mathias Krause July 19, 2015, 6:06 p.m. UTC
In commit 0db0628d9012 ("kernel: delete __cpuinit usage from all core
kernel files") cpu_up() lost its __cpuinit annotation, vanishing the
need for cpu_subsys_online() to have a __ref annotation. Just drop it
to be able to catch real section mismatches in the future.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
 drivers/base/cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c
index 78720e706176..91bbb1959d8d 100644
--- a/drivers/base/cpu.c
+++ b/drivers/base/cpu.c
@@ -41,7 +41,7 @@  static void change_cpu_under_node(struct cpu *cpu,
 	cpu->node_id = to_nid;
-static int __ref cpu_subsys_online(struct device *dev)
+static int cpu_subsys_online(struct device *dev)
 	struct cpu *cpu = container_of(dev, struct cpu, dev);
 	int cpuid = dev->id;