diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c index 11769b55438c..c841f083a7f5 100644 --- a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c +++ b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | |||
@@ -32,9 +32,6 @@ | |||
32 | #include <msp_int.h> | 32 | #include <msp_int.h> |
33 | #include <msp_regs.h> | 33 | #include <msp_regs.h> |
34 | #include <msp_regops.h> | 34 | #include <msp_regops.h> |
35 | #ifdef CONFIG_PMCTWILED | ||
36 | #include <msp_led_macros.h> | ||
37 | #endif | ||
38 | 35 | ||
39 | /* For hwbutton_interrupt->initial_state */ | 36 | /* For hwbutton_interrupt->initial_state */ |
40 | #define HWBUTTON_HI 0x1 | 37 | #define HWBUTTON_HI 0x1 |
@@ -82,10 +79,6 @@ static void standby_on(void *data) | |||
82 | printk(KERN_WARNING "STANDBY switch was set to ON (not implemented)\n"); | 79 | printk(KERN_WARNING "STANDBY switch was set to ON (not implemented)\n"); |
83 | 80 | ||
84 | /* TODO: Put board in standby mode */ | 81 | /* TODO: Put board in standby mode */ |
85 | #ifdef CONFIG_PMCTWILED | ||
86 | msp_led_turn_off(MSP_LED_PWRSTANDBY_GREEN); | ||
87 | msp_led_turn_on(MSP_LED_PWRSTANDBY_RED); | ||
88 | #endif | ||
89 | } | 82 | } |
90 | 83 | ||
91 | static void standby_off(void *data) | 84 | static void standby_off(void *data) |
@@ -94,10 +87,6 @@ static void standby_off(void *data) | |||
94 | "STANDBY switch was set to OFF (not implemented)\n"); | 87 | "STANDBY switch was set to OFF (not implemented)\n"); |
95 | 88 | ||
96 | /* TODO: Take out of standby mode */ | 89 | /* TODO: Take out of standby mode */ |
97 | #ifdef CONFIG_PMCTWILED | ||
98 | msp_led_turn_on(MSP_LED_PWRSTANDBY_GREEN); | ||
99 | msp_led_turn_off(MSP_LED_PWRSTANDBY_RED); | ||
100 | #endif | ||
101 | } | 90 | } |
102 | 91 | ||
103 | static struct hwbutton_interrupt softreset_sw = { | 92 | static struct hwbutton_interrupt softreset_sw = { |