aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/se/7300/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/se/7300/led.c')
-rw-r--r--arch/sh/boards/se/7300/led.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/arch/sh/boards/se/7300/led.c b/arch/sh/boards/se/7300/led.c
index 02c7f846c84c08..b1a32fb0432b23 100644
--- a/arch/sh/boards/se/7300/led.c
+++ b/arch/sh/boards/se/7300/led.c
@@ -13,24 +13,10 @@
#include <linux/config.h>
#include <linux/sched.h>
-#include <asm/mach/se7300.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);
- }
-}
-
+#include <asm/se7300.h>
/* Cycle the LED's in the clasic Knightrider/Sun pattern */
-void
-heartbeat_7300se(void)
+void heartbeat_7300se(void)
{
static unsigned int cnt = 0, period = 0;
volatile unsigned short *p = (volatile unsigned short *) PA_LED;