summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_processor.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-07-19 18:50:38 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-21 01:01:46 +0200
commit8ce344c66e3ce122585cfe68be1ef0ffd176380d (patch)
treecb28565e83f8c33c0d203506d3dadc7167971850 /drivers/acpi/acpi_processor.c
parent52721d9d3334c1cb1f76219a161084094ec634dc (diff)
downloadlinux-stable-8ce344c66e3ce122585cfe68be1ef0ffd176380d.tar.gz
linux-stable-8ce344c66e3ce122585cfe68be1ef0ffd176380d.tar.bz2
linux-stable-8ce344c66e3ce122585cfe68be1ef0ffd176380d.zip
ACPI / processor: remove leftover __refdata annotations
The processor_handler structure does not reference any __init / __exit code or data. Therefore the __refdata annotation is not needed. It used to be prior to commit fe7bf106ebc2 ("acpi: delete __cpuinit usage from all acpi files") due to the __cpuinit annotation of acpi_processor_add(). But with that commit in place that requirement has gone. The same is true for the acpi_cpu_notifier notifier block. acpi_cpu_soft_notify() used to be marked __cpuinit but lost its annotation in the above mentioned commit as well. Therefore the __refdata annotation isn't needed there either. Just drop the unneded __refdata annotations to be able to catch future section mismatches. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_processor.c')
-rw-r--r--drivers/acpi/acpi_processor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 92a5f738e370..985b8a83184e 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -485,7 +485,7 @@ static const struct acpi_device_id processor_device_ids[] = {
{ }
};
-static struct acpi_scan_handler __refdata processor_handler = {
+static struct acpi_scan_handler processor_handler = {
.ids = processor_device_ids,
.attach = acpi_processor_add,
#ifdef CONFIG_ACPI_HOTPLUG_CPU