diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-12-04 16:26:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 16:26:31 -0500 |
commit | 757498c63ed70ec8961aa432173247f4373ef0c3 (patch) | |
tree | 7cb78ee704b26219bdb594ad0d15803a5b15e3a3 /arch/sparc | |
parent | c2e27c359ab76fecbbd292dbfc0bcfa8399afdd9 (diff) |
sparc: drop CONFIG_SUN_AUXIO
It is always equals y so no need to test for it
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Kconfig | 4 | ||||
-rw-r--r-- | arch/sparc/kernel/devices.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/process_32.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms_32.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms_64.c | 2 | ||||
-rw-r--r-- | arch/sparc/mm/sun4c.c | 2 | ||||
-rw-r--r-- | arch/sparc/prom/misc_32.c | 2 |
7 files changed, 0 insertions, 16 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 7cfe557db23d..ecb5ff9f01fa 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -465,10 +465,6 @@ config SBUSCHAR | |||
465 | bool | 465 | bool |
466 | default y | 466 | default y |
467 | 467 | ||
468 | config SUN_AUXIO | ||
469 | bool | ||
470 | default y | ||
471 | |||
472 | config SUN_IO | 468 | config SUN_IO |
473 | bool | 469 | bool |
474 | default y | 470 | default y |
diff --git a/arch/sparc/kernel/devices.c b/arch/sparc/kernel/devices.c index ad656b044b8c..b171ae8de90d 100644 --- a/arch/sparc/kernel/devices.c +++ b/arch/sparc/kernel/devices.c | |||
@@ -133,14 +133,12 @@ void __init device_scan(void) | |||
133 | #endif /* !CONFIG_SMP */ | 133 | #endif /* !CONFIG_SMP */ |
134 | 134 | ||
135 | cpu_probe(); | 135 | cpu_probe(); |
136 | #ifdef CONFIG_SUN_AUXIO | ||
137 | { | 136 | { |
138 | extern void auxio_probe(void); | 137 | extern void auxio_probe(void); |
139 | extern void auxio_power_probe(void); | 138 | extern void auxio_power_probe(void); |
140 | auxio_probe(); | 139 | auxio_probe(); |
141 | auxio_power_probe(); | 140 | auxio_power_probe(); |
142 | } | 141 | } |
143 | #endif | ||
144 | clock_stop_probe(); | 142 | clock_stop_probe(); |
145 | 143 | ||
146 | if (ARCH_SUN4C) | 144 | if (ARCH_SUN4C) |
diff --git a/arch/sparc/kernel/process_32.c b/arch/sparc/kernel/process_32.c index e8c43ffe317e..69d9315f4a93 100644 --- a/arch/sparc/kernel/process_32.c +++ b/arch/sparc/kernel/process_32.c | |||
@@ -168,11 +168,9 @@ void machine_restart(char * cmd) | |||
168 | 168 | ||
169 | void machine_power_off(void) | 169 | void machine_power_off(void) |
170 | { | 170 | { |
171 | #ifdef CONFIG_SUN_AUXIO | ||
172 | if (auxio_power_register && | 171 | if (auxio_power_register && |
173 | (strcmp(of_console_device->type, "serial") || scons_pwroff)) | 172 | (strcmp(of_console_device->type, "serial") || scons_pwroff)) |
174 | *auxio_power_register |= AUXIO_POWER_OFF; | 173 | *auxio_power_register |= AUXIO_POWER_OFF; |
175 | #endif | ||
176 | machine_halt(); | 174 | machine_halt(); |
177 | } | 175 | } |
178 | 176 | ||
diff --git a/arch/sparc/kernel/sparc_ksyms_32.c b/arch/sparc/kernel/sparc_ksyms_32.c index b0dfff848653..3c80562faa8a 100644 --- a/arch/sparc/kernel/sparc_ksyms_32.c +++ b/arch/sparc/kernel/sparc_ksyms_32.c | |||
@@ -122,10 +122,8 @@ EXPORT_SYMBOL(phys_cpu_present_map); | |||
122 | EXPORT_SYMBOL(__udelay); | 122 | EXPORT_SYMBOL(__udelay); |
123 | EXPORT_SYMBOL(__ndelay); | 123 | EXPORT_SYMBOL(__ndelay); |
124 | EXPORT_SYMBOL(rtc_lock); | 124 | EXPORT_SYMBOL(rtc_lock); |
125 | #ifdef CONFIG_SUN_AUXIO | ||
126 | EXPORT_SYMBOL(set_auxio); | 125 | EXPORT_SYMBOL(set_auxio); |
127 | EXPORT_SYMBOL(get_auxio); | 126 | EXPORT_SYMBOL(get_auxio); |
128 | #endif | ||
129 | EXPORT_SYMBOL(io_remap_pfn_range); | 127 | EXPORT_SYMBOL(io_remap_pfn_range); |
130 | 128 | ||
131 | #ifndef CONFIG_SMP | 129 | #ifndef CONFIG_SMP |
diff --git a/arch/sparc/kernel/sparc_ksyms_64.c b/arch/sparc/kernel/sparc_ksyms_64.c index c450825b3fe5..e6d2bb86a46f 100644 --- a/arch/sparc/kernel/sparc_ksyms_64.c +++ b/arch/sparc/kernel/sparc_ksyms_64.c | |||
@@ -154,10 +154,8 @@ EXPORT_SYMBOL(sun4v_niagara_setperf); | |||
154 | EXPORT_SYMBOL(sun4v_niagara2_getperf); | 154 | EXPORT_SYMBOL(sun4v_niagara2_getperf); |
155 | EXPORT_SYMBOL(sun4v_niagara2_setperf); | 155 | EXPORT_SYMBOL(sun4v_niagara2_setperf); |
156 | 156 | ||
157 | #ifdef CONFIG_SUN_AUXIO | ||
158 | EXPORT_SYMBOL(auxio_set_led); | 157 | EXPORT_SYMBOL(auxio_set_led); |
159 | EXPORT_SYMBOL(auxio_set_lte); | 158 | EXPORT_SYMBOL(auxio_set_lte); |
160 | #endif | ||
161 | #ifdef CONFIG_SBUS | 159 | #ifdef CONFIG_SBUS |
162 | EXPORT_SYMBOL(sbus_set_sbus64); | 160 | EXPORT_SYMBOL(sbus_set_sbus64); |
163 | #endif | 161 | #endif |
diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c index fe65aeeb3947..6b0c49004ba6 100644 --- a/arch/sparc/mm/sun4c.c +++ b/arch/sparc/mm/sun4c.c | |||
@@ -240,9 +240,7 @@ void sun4c_complete_all_stores(void) | |||
240 | 240 | ||
241 | _unused = sun4c_get_context(); | 241 | _unused = sun4c_get_context(); |
242 | sun4c_set_context(_unused); | 242 | sun4c_set_context(_unused); |
243 | #ifdef CONFIG_SUN_AUXIO | ||
244 | _unused = get_auxio(); | 243 | _unused = get_auxio(); |
245 | #endif | ||
246 | } | 244 | } |
247 | 245 | ||
248 | /* Bootup utility functions. */ | 246 | /* Bootup utility functions. */ |
diff --git a/arch/sparc/prom/misc_32.c b/arch/sparc/prom/misc_32.c index 49b5057b9601..cf6c3f6d36c3 100644 --- a/arch/sparc/prom/misc_32.c +++ b/arch/sparc/prom/misc_32.c | |||
@@ -61,9 +61,7 @@ prom_cmdline(void) | |||
61 | restore_current(); | 61 | restore_current(); |
62 | install_linux_ticker(); | 62 | install_linux_ticker(); |
63 | spin_unlock_irqrestore(&prom_lock, flags); | 63 | spin_unlock_irqrestore(&prom_lock, flags); |
64 | #ifdef CONFIG_SUN_AUXIO | ||
65 | set_auxio(AUXIO_LED, 0); | 64 | set_auxio(AUXIO_LED, 0); |
66 | #endif | ||
67 | } | 65 | } |
68 | 66 | ||
69 | /* Drop into the prom, but completely terminate the program. | 67 | /* Drop into the prom, but completely terminate the program. |