git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
sh
/
boards
/
se
/
770x
/
led.c
diff --git
a/arch/sh/boards/se/770x/led.c
b/arch/sh/boards/se/770x/led.c
index
3cddbda
..
d93dd83
100644
(file)
--- a/
arch/sh/boards/se/770x/led.c
+++ b/
arch/sh/boards/se/770x/led.c
@@
-1,5
+1,5
@@
/*
/*
- * linux/arch/sh/
kernel/led_se
.c
+ * linux/arch/sh/
boards/se/770x/led
.c
*
* Copyright (C) 2000 Stuart Menefy <stuart.menefy@st.com>
*
*
* Copyright (C) 2000 Stuart Menefy <stuart.menefy@st.com>
*
@@
-9,22
+9,8
@@
* This file contains Solution Engine specific LED code.
*/
* 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 <linux/sched.h>
+#include <asm/se.h>
/* Cycle the LED's in the clasic Knightrider/Sun pattern */
void heartbeat_se(void)
/* 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);
}
*p = 1<<(bit+8);
}
-#endif /* CONFIG_HEARTBEAT */