aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-03-31 05:31:09 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-31 15:18:57 -0500
commit3179108daaaccbf28b17d6d8b0e06abf0eee6d9f (patch)
tree6e8f1e9b1d78f1c08bcd7dcfd5f9d4321849d3ec /arch/arm/mach-pxa
parent181bf8aa68a1d062d7f98abb0f1cb8871910320c (diff)
[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>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/corgi.c9
-rw-r--r--arch/arm/mach-pxa/spitz.c9
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
index 68923b1d2b62..99604a544629 100644
--- a/arch/arm/mach-pxa/corgi.c
+++ b/arch/arm/mach-pxa/corgi.c
@@ -164,6 +164,14 @@ static struct platform_device corgikbd_device = {
164 164
165 165
166/* 166/*
167 * Corgi LEDs
168 */
169static struct platform_device corgiled_device = {
170 .name = "corgi-led",
171 .id = -1,
172};
173
174/*
167 * Corgi Touch Screen Device 175 * Corgi Touch Screen Device
168 */ 176 */
169static struct resource corgits_resources[] = { 177static struct resource corgits_resources[] = {
@@ -297,6 +305,7 @@ static struct platform_device *devices[] __initdata = {
297 &corgikbd_device, 305 &corgikbd_device,
298 &corgibl_device, 306 &corgibl_device,
299 &corgits_device, 307 &corgits_device,
308 &corgiled_device,
300}; 309};
301 310
302static void __init corgi_init(void) 311static void __init corgi_init(void)
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 0dbb079ecd25..ebe473053392 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -242,6 +242,14 @@ static struct platform_device spitzkbd_device = {
242 242
243 243
244/* 244/*
245 * Spitz LEDs
246 */
247static struct platform_device spitzled_device = {
248 .name = "spitz-led",
249 .id = -1,
250};
251
252/*
245 * Spitz Touch Screen Device 253 * Spitz Touch Screen Device
246 */ 254 */
247static struct resource spitzts_resources[] = { 255static struct resource spitzts_resources[] = {
@@ -418,6 +426,7 @@ static struct platform_device *devices[] __initdata = {
418 &spitzkbd_device, 426 &spitzkbd_device,
419 &spitzts_device, 427 &spitzts_device,
420 &spitzbl_device, 428 &spitzbl_device,
429 &spitzled_device,
421}; 430};
422 431
423static void __init common_init(void) 432static void __init common_init(void)