[PATCH] LED: add LED device support for the zaurus corgi and spitz models

Adds LED drivers for LEDs found on the Sharp Zaurus c7x0 (corgi, shepherd,
husky) and cxx00 (akita, spitz, borzoi) models.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Richard Purdie
2006-03-31 02:31:09 -08:00
committed by Linus Torvalds
parent 181bf8aa68
commit 3179108daa
6 changed files with 282 additions and 0 deletions

View File

@@ -241,6 +241,14 @@ static struct platform_device spitzkbd_device = {
};
/*
* Spitz LEDs
*/
static struct platform_device spitzled_device = {
.name = "spitz-led",
.id = -1,
};
/*
* Spitz Touch Screen Device
*/
@@ -418,6 +426,7 @@ static struct platform_device *devices[] __initdata = {
&spitzkbd_device,
&spitzts_device,
&spitzbl_device,
&spitzled_device,
};
static void __init common_init(void)