mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:24:05 +08:00
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>
This commit is contained in:
parent
3f441ee1cc
commit
8b284dbc22
@ -32,9 +32,6 @@
|
|||||||
#include <msp_int.h>
|
#include <msp_int.h>
|
||||||
#include <msp_regs.h>
|
#include <msp_regs.h>
|
||||||
#include <msp_regops.h>
|
#include <msp_regops.h>
|
||||||
#ifdef CONFIG_PMCTWILED
|
|
||||||
#include <msp_led_macros.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* For hwbutton_interrupt->initial_state */
|
/* For hwbutton_interrupt->initial_state */
|
||||||
#define HWBUTTON_HI 0x1
|
#define HWBUTTON_HI 0x1
|
||||||
@ -82,10 +79,6 @@ static void standby_on(void *data)
|
|||||||
printk(KERN_WARNING "STANDBY switch was set to ON (not implemented)\n");
|
printk(KERN_WARNING "STANDBY switch was set to ON (not implemented)\n");
|
||||||
|
|
||||||
/* TODO: Put board in standby mode */
|
/* TODO: Put board in standby mode */
|
||||||
#ifdef CONFIG_PMCTWILED
|
|
||||||
msp_led_turn_off(MSP_LED_PWRSTANDBY_GREEN);
|
|
||||||
msp_led_turn_on(MSP_LED_PWRSTANDBY_RED);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void standby_off(void *data)
|
static void standby_off(void *data)
|
||||||
@ -94,10 +87,6 @@ static void standby_off(void *data)
|
|||||||
"STANDBY switch was set to OFF (not implemented)\n");
|
"STANDBY switch was set to OFF (not implemented)\n");
|
||||||
|
|
||||||
/* TODO: Take out of standby mode */
|
/* TODO: Take out of standby mode */
|
||||||
#ifdef CONFIG_PMCTWILED
|
|
||||||
msp_led_turn_on(MSP_LED_PWRSTANDBY_GREEN);
|
|
||||||
msp_led_turn_off(MSP_LED_PWRSTANDBY_RED);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct hwbutton_interrupt softreset_sw = {
|
static struct hwbutton_interrupt softreset_sw = {
|
||||||
|
Loading…
Reference in New Issue
Block a user