sparc: drop CONFIG_SUN_AUXIO
authorSam Ravnborg <sam@ravnborg.org>
Thu, 4 Dec 2008 21:26:31 +0000 (13:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 21:26:31 +0000 (13:26 -0800)
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>
arch/sparc/Kconfig
arch/sparc/kernel/devices.c
arch/sparc/kernel/process_32.c
arch/sparc/kernel/sparc_ksyms_32.c
arch/sparc/kernel/sparc_ksyms_64.c
arch/sparc/mm/sun4c.c
arch/sparc/prom/misc_32.c

index 7cfe557db23da6cb5e4e47265496a87dba674f8f..ecb5ff9f01fa4a1598a4a0889d1f4e2cfe053a21 100644 (file)
@@ -465,10 +465,6 @@ config SBUSCHAR
        bool
        default y
 
-config SUN_AUXIO
-       bool
-       default y
-
 config SUN_IO
        bool
        default y
index ad656b044b8c2b9a560af4cdfaf2a05e65634f2a..b171ae8de90dc5b49aa410c03c166603c37b4d02 100644 (file)
@@ -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)
index e8c43ffe317ef120d52094122e5cdab86e8b87d9..69d9315f4a93e10797a92ac46ad3006a2dc24f18 100644 (file)
@@ -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();
 }
 
index b0dfff84865365a595e39283e480b1ccbd9eb850..3c80562faa8a1cb6ae8f83d3b05687c5f6401ad1 100644 (file)
@@ -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
index c450825b3fe527b3fdb7a13ad4dd6de18b836317..e6d2bb86a46f0056f4d5605344e4a69d7250547a 100644 (file)
@@ -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
index fe65aeeb3947a70fafb900fb94014311f43a59df..6b0c49004ba6eea4e5d2230d52a7469f3ae57843 100644 (file)
@@ -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. */
index 49b5057b9601000660e42220eb5e49d565f83604..cf6c3f6d36c3d6bdecc41edc37aa3436e1a1726e 100644 (file)
@@ -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.