summaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/rbtx4938/setup.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-09-01 22:22:38 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-10-11 16:18:49 +0100
commitae027ead87b13cff99b4f48da7696aa4fe75393b (patch)
tree48dff058f4682b4938c5e7e004634938994de80b /arch/mips/txx9/rbtx4938/setup.c
parent21e77df215e58523a755b5dd006cb17610616f20 (diff)
downloadop-kernel-dev-ae027ead87b13cff99b4f48da7696aa4fe75393b.zip
op-kernel-dev-ae027ead87b13cff99b4f48da7696aa4fe75393b.tar.gz
MIPS: TXx9: IOC LED support
Add leds-gpio platform device for controlling LEDs connected to IOC on RBTX49XX and JMR3927 board. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/txx9/rbtx4938/setup.c')
-rw-r--r--arch/mips/txx9/rbtx4938/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4938/setup.c b/arch/mips/txx9/rbtx4938/setup.c
index ec6e812..e077cc4 100644
--- a/arch/mips/txx9/rbtx4938/setup.c
+++ b/arch/mips/txx9/rbtx4938/setup.c
@@ -352,6 +352,7 @@ static void __init rbtx4938_device_init(void)
rbtx4938_ne_init();
tx4938_wdt_init();
rbtx4938_mtd_init();
+ txx9_iocled_init(RBTX4938_LED_ADDR - IO_BASE, -1, 8, 1, "green", NULL);
}
struct txx9_board_vec rbtx4938_vec __initdata = {
OpenPOWER on IntegriCloud