summaryrefslogtreecommitdiff
path: root/arch/sh/boards/renesas/rts7751r2d/led.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-10-23 14:50:00 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-23 14:50:00 (GMT)
commit2e11665c5ea436e2fc2cfecbfc6dbfb8d420af29 (patch)
tree62a49268a6baa58b25c76e5deae21f9b49bcc626 /arch/sh/boards/renesas/rts7751r2d/led.c
parent5cfc35cf79d46af998346e3d5cc66fa344d1af0e (diff)
parent66a740572d7bcb18469e71cb014bfed3ff75a773 (diff)
downloadlinux-fsl-qoriq-2e11665c5ea436e2fc2cfecbfc6dbfb8d420af29.tar.xz
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: sh: Convert INTC2 to IRQ table registration. sh: Updates for irq-flow-type naming changes. sh: Add some missing board headers. sh: Fix exception_handling_table alignment. sh: Cleanup board header directories. sh: Remove board-specific ide.h headers. sh: Proper show_stack/show_trace() implementation.
Diffstat (limited to 'arch/sh/boards/renesas/rts7751r2d/led.c')
-rw-r--r--arch/sh/boards/renesas/rts7751r2d/led.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/led.c b/arch/sh/boards/renesas/rts7751r2d/led.c
index a7ce66c..509f548 100644
--- a/arch/sh/boards/renesas/rts7751r2d/led.c
+++ b/arch/sh/boards/renesas/rts7751r2d/led.c
@@ -8,13 +8,9 @@
*
* This file contains Renesas Technology Sales RTS7751R2D specific LED code.
*/
-
-#include <asm/io.h>
-#include <asm/rts7751r2d/rts7751r2d.h>
-
-#ifdef CONFIG_HEARTBEAT
-
+#include <linux/io.h>
#include <linux/sched.h>
+#include <asm/rts7751r2d.h>
/* Cycle the LED's in the clasic Knightriger/Sun pattern */
void heartbeat_rts7751r2d(void)
@@ -46,10 +42,3 @@ void heartbeat_rts7751r2d(void)
else
bit--;
}
-#endif /* CONFIG_HEARTBEAT */
-
-void rts7751r2d_led(unsigned short value)
-{
- ctrl_outw(value, PA_OUTPORT);
-}
-