summaryrefslogtreecommitdiff
path: root/drivers/hwmon/coretemp.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-07-30 11:33:00 +0200
committerJean Delvare <khali@endymion.delvare>2012-07-30 11:33:00 +0200
commite273bd98c9170c33456c948df878a1d696ede959 (patch)
tree6e619c3503c636ed6fb241f25e8b59a8f5837166 /drivers/hwmon/coretemp.c
parentf7da9cdf45cbbad5029d4858dcbc0134e06084ed (diff)
hwmon: struct x86_cpu_id arrays can be __initconst
... as being referenced from __init code only. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/coretemp.c')
-rw-r--r--drivers/hwmon/coretemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index 637c51c11b44..faa16f80db9c 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -793,7 +793,7 @@ static struct notifier_block coretemp_cpu_notifier __refdata = {
.notifier_call = coretemp_cpu_callback,
};
-static const struct x86_cpu_id coretemp_ids[] = {
+static const struct x86_cpu_id __initconst coretemp_ids[] = {
{ X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTHERM },
{}
};