[PATCH] LED: add device support for tosa

Adds LED drivers for LEDs found on the Sharp Zaurus c6000 model (tosa).

Signed-off-by: Dirk Opfer <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Dirk Opfer 2006-03-31 02:31:12 -08:00 • committed by Linus Torvalds
commit 6d0cf3e048
4 changed files with 148 additions and 0 deletions

View file

@ -251,10 +251,19 @@ static struct platform_device tosakbd_device = {
.id = -1,
};
/*
* Tosa LEDs
*/
static struct platform_device tosaled_device = {
.name = "tosa-led",
.id = -1,
};
static struct platform_device *devices[] __initdata = {
&tosascoop_device,
&tosascoop_jc_device,
&tosakbd_device,
&tosaled_device,
};
static void __init tosa_init(void)