summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-07-19 21:06:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-06 01:18:26 +0300
commiteda5867b6992e3de888b516c0ff0fa1f1ee881af (patch)
treeb28e028896a69f37c77e59cd1a52f85c69282e25 /drivers
parenta885de67157e8e65b92af2e0a77f6eadd112d0b7 (diff)
downloadlinux-eda5867b6992e3de888b516c0ff0fa1f1ee881af.tar.xz
cpu: Remove bogus __ref annotation of cpu_subsys_online()
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/cpu.c2
1 files changed, 1 insertions, 1 deletions
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;