]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/base/cpu.c
OMAP3 NAND: Enable support for nand driver on OMAP3430
[linux-2.6-omap-h63xx.git] / drivers / base / cpu.c
index 20537d507909c5cbc3d166e3dee76cac9e8ce73e..64f5d54f7edcee095ae8ead0a2f29d032ce546cd 100644 (file)
@@ -121,14 +121,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,