aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c
index e38dfed41d80..5000402ae092 100644
--- a/drivers/base/cpu.c
+++ b/drivers/base/cpu.c
@@ -119,14 +119,14 @@ static ssize_t print_cpus_##type(struct sysdev_class *class, char *buf) \
119{ \ 119{ \
120 return print_cpus_map(buf, &cpu_##type##_map); \ 120 return print_cpus_map(buf, &cpu_##type##_map); \
121} \ 121} \
122struct sysdev_class_attribute attr_##type##_map = \ 122static struct sysdev_class_attribute attr_##type##_map = \
123 _SYSDEV_CLASS_ATTR(type, 0444, print_cpus_##type, NULL) 123 _SYSDEV_CLASS_ATTR(type, 0444, print_cpus_##type, NULL)
124 124
125print_cpus_func(online); 125print_cpus_func(online);
126print_cpus_func(possible); 126print_cpus_func(possible);
127print_cpus_func(present); 127print_cpus_func(present);
128 128
129struct sysdev_class_attribute *cpu_state_attr[] = { 129static struct sysdev_class_attribute *cpu_state_attr[] = {
130 &attr_online_map, 130 &attr_online_map,
131 &attr_possible_map, 131 &attr_possible_map,
132 &attr_present_map, 132 &attr_present_map,