diff options
-rw-r--r-- | drivers/hwmon/coretemp.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/via-cputemp.c | 2 |
2 files changed, 2 insertions, 2 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 = { | |||
793 | .notifier_call = coretemp_cpu_callback, | 793 | .notifier_call = coretemp_cpu_callback, |
794 | }; | 794 | }; |
795 | 795 | ||
796 | static const struct x86_cpu_id coretemp_ids[] = { | 796 | static const struct x86_cpu_id __initconst coretemp_ids[] = { |
797 | { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTHERM }, | 797 | { X86_VENDOR_INTEL, X86_FAMILY_ANY, X86_MODEL_ANY, X86_FEATURE_DTHERM }, |
798 | {} | 798 | {} |
799 | }; | 799 | }; |
diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c index 8689664ef03c..ee4ebc198a94 100644 --- a/drivers/hwmon/via-cputemp.c +++ b/drivers/hwmon/via-cputemp.c | |||
@@ -309,7 +309,7 @@ static struct notifier_block via_cputemp_cpu_notifier __refdata = { | |||
309 | .notifier_call = via_cputemp_cpu_callback, | 309 | .notifier_call = via_cputemp_cpu_callback, |
310 | }; | 310 | }; |
311 | 311 | ||
312 | static const struct x86_cpu_id cputemp_ids[] = { | 312 | static const struct x86_cpu_id __initconst cputemp_ids[] = { |
313 | { X86_VENDOR_CENTAUR, 6, 0xa, }, /* C7 A */ | 313 | { X86_VENDOR_CENTAUR, 6, 0xa, }, /* C7 A */ |
314 | { X86_VENDOR_CENTAUR, 6, 0xd, }, /* C7 D */ | 314 | { X86_VENDOR_CENTAUR, 6, 0xd, }, /* C7 D */ |
315 | { X86_VENDOR_CENTAUR, 6, 0xf, }, /* Nano */ | 315 | { X86_VENDOR_CENTAUR, 6, 0xf, }, /* Nano */ |