Skip to content

Commit

Permalink
sparc: drop CONFIG_SUN_AUXIO
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Dec 4, 2008
1 parent c2e27c3 commit 757498c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,6 @@ config SBUSCHAR
bool
default y

config SUN_AUXIO
bool
default y

config SUN_IO
bool
default y
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/kernel/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,12 @@ void __init device_scan(void)
#endif /* !CONFIG_SMP */

cpu_probe();
#ifdef CONFIG_SUN_AUXIO
{
extern void auxio_probe(void);
extern void auxio_power_probe(void);
auxio_probe();
auxio_power_probe();
}
#endif
clock_stop_probe();

if (ARCH_SUN4C)
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,9 @@ void machine_restart(char * cmd)

void machine_power_off(void)
{
#ifdef CONFIG_SUN_AUXIO
if (auxio_power_register &&
(strcmp(of_console_device->type, "serial") || scons_pwroff))
*auxio_power_register |= AUXIO_POWER_OFF;
#endif
machine_halt();
}

Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/kernel/sparc_ksyms_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,8 @@ EXPORT_SYMBOL(phys_cpu_present_map);
EXPORT_SYMBOL(__udelay);
EXPORT_SYMBOL(__ndelay);
EXPORT_SYMBOL(rtc_lock);
#ifdef CONFIG_SUN_AUXIO
EXPORT_SYMBOL(set_auxio);
EXPORT_SYMBOL(get_auxio);
#endif
EXPORT_SYMBOL(io_remap_pfn_range);

#ifndef CONFIG_SMP
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/kernel/sparc_ksyms_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,8 @@ EXPORT_SYMBOL(sun4v_niagara_setperf);
EXPORT_SYMBOL(sun4v_niagara2_getperf);
EXPORT_SYMBOL(sun4v_niagara2_setperf);

#ifdef CONFIG_SUN_AUXIO
EXPORT_SYMBOL(auxio_set_led);
EXPORT_SYMBOL(auxio_set_lte);
#endif
#ifdef CONFIG_SBUS
EXPORT_SYMBOL(sbus_set_sbus64);
#endif
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/mm/sun4c.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@ void sun4c_complete_all_stores(void)

_unused = sun4c_get_context();
sun4c_set_context(_unused);
#ifdef CONFIG_SUN_AUXIO
_unused = get_auxio();
#endif
}

/* Bootup utility functions. */
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/prom/misc_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ prom_cmdline(void)
restore_current();
install_linux_ticker();
spin_unlock_irqrestore(&prom_lock, flags);
#ifdef CONFIG_SUN_AUXIO
set_auxio(AUXIO_LED, 0);
#endif
}

/* Drop into the prom, but completely terminate the program.
Expand Down

0 comments on commit 757498c

Please sign in to comment.