From 640841c49751d411765770d21ff08f86c3ace0ce Mon Sep 17 00:00:00 2001 From: Mike Travis Date: Mon, 12 May 2008 21:21:13 +0200 Subject: [PATCH] --- yaml --- r: 105201 b: refs/heads/master c: 143aa5c53bd3895d42d7c08753fe58293988a69d h: refs/heads/master i: 105199: 8e146b0b380b770dff85ec07bfdb79537e835351 v: v3 --- [refs] | 2 +- trunk/drivers/base/cpu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 7c2acd98ef3e..af3e80d22038 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a953e4597abd51b74c99e0e3b7074532a60fd031 +refs/heads/master: 143aa5c53bd3895d42d7c08753fe58293988a69d diff --git a/trunk/drivers/base/cpu.c b/trunk/drivers/base/cpu.c index e38dfed41d80..5000402ae092 100644 --- a/trunk/drivers/base/cpu.c +++ b/trunk/drivers/base/cpu.c @@ -119,14 +119,14 @@ static ssize_t print_cpus_##type(struct sysdev_class *class, char *buf) \ { \ return print_cpus_map(buf, &cpu_##type##_map); \ } \ -struct sysdev_class_attribute attr_##type##_map = \ +static struct sysdev_class_attribute attr_##type##_map = \ _SYSDEV_CLASS_ATTR(type, 0444, print_cpus_##type, NULL) print_cpus_func(online); print_cpus_func(possible); print_cpus_func(present); -struct sysdev_class_attribute *cpu_state_attr[] = { +static struct sysdev_class_attribute *cpu_state_attr[] = { &attr_online_map, &attr_possible_map, &attr_present_map,