diff options
author | Christoph Egger <siccegge@cs.fau.de> | 2010-06-09 07:22:37 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:00 -0400 |
commit | 8b284dbc22001a958e64a30a10aa5f274cf6f33d (patch) | |
tree | 72d51757408408f107efa2cb9f7defa70c5c50ad /arch/mips/pmc-sierra/msp71xx | |
parent | 3f441ee1cc150623aa64ddb1333d57eca78fdac2 (diff) |
MIPS: PNX Removing dead CONFIG_PMCTWILED
CONFIG_PMCTWILED doesn't exist in Kconfig, therefore removing all
references for it from the source code.
Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Cc: vamos@i4.informatik.uni-erlangen.de
Acked-by: Shane McDonald <mcdonald.shane@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1373/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pmc-sierra/msp71xx')
-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 = { |