diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-07-30 11:33:00 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-07-30 11:33:00 +0200 |
commit | e273bd98c9170c33456c948df878a1d696ede959 (patch) | |
tree | 6e619c3503c636ed6fb241f25e8b59a8f5837166 /drivers/hwmon/via-cputemp.c | |
parent | f7da9cdf45cbbad5029d4858dcbc0134e06084ed (diff) | |
download | talos-op-linux-e273bd98c9170c33456c948df878a1d696ede959.tar.gz talos-op-linux-e273bd98c9170c33456c948df878a1d696ede959.zip |
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/via-cputemp.c')
-rw-r--r-- | drivers/hwmon/via-cputemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { .notifier_call = via_cputemp_cpu_callback, }; -static const struct x86_cpu_id cputemp_ids[] = { +static const struct x86_cpu_id __initconst cputemp_ids[] = { { X86_VENDOR_CENTAUR, 6, 0xa, }, /* C7 A */ { X86_VENDOR_CENTAUR, 6, 0xd, }, /* C7 D */ { X86_VENDOR_CENTAUR, 6, 0xf, }, /* Nano */ |