summaryrefslogtreecommitdiff
path: root/arch/sh/boards/se/770x/led.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 13:28:23 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 13:28:23 +0900
commit3530570fd43632b60b00e5ea17519d2bd69d1434 (patch)
tree47b2199a54cb013f60024892649b650abb0cc669 /arch/sh/boards/se/770x/led.c
parent5c930e8cbfaa9dfdf9fa082fd891c6e3ab6ef2fc (diff)
sh: Kill off dead code for SE and SystemH boards.
Some of these have suffered some bitrot, and so there is some degree of dead code that has been left sitting around, clean it up.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/se/770x/led.c')
-rw-r--r--arch/sh/boards/se/770x/led.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/sh/boards/se/770x/led.c b/arch/sh/boards/se/770x/led.c
index 3cddbda025fc..73e9848387ea 100644
--- a/arch/sh/boards/se/770x/led.c
+++ b/arch/sh/boards/se/770x/led.c
@@ -9,22 +9,8 @@
* This file contains Solution Engine specific LED code.
*/
-#include <asm/se/se.h>
-
-static void mach_led(int position, int value)
-{
- volatile unsigned short* p = (volatile unsigned short*)PA_LED;
-
- if (value) {
- *p |= (1<<8);
- } else {
- *p &= ~(1<<8);
- }
-}
-
-#ifdef CONFIG_HEARTBEAT
-
#include <linux/sched.h>
+#include <asm/se/se.h>
/* Cycle the LED's in the clasic Knightrider/Sun pattern */
void heartbeat_se(void)
@@ -64,4 +50,3 @@ void heartbeat_se(void)
*p = 1<<(bit+8);
}
-#endif /* CONFIG_HEARTBEAT */