aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Hsu <matt_hsu@openmoko.org>2009-03-06 12:28:36 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-06 12:28:36 +0000
commitd0b385e82cbee87cf6ef17a058e8b26a03a04819 (patch)
treedccc20f80c31c0fcbc997168403bf6c677d7c91a
parent17702c46e6d86d2318e76025e67dba8ec54306ea (diff)
Add LED channel information in lp5521 platform data for 3d7k.
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
-rw-r--r--arch/arm/mach-s3c6410/mach-om-3d7k.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/mach-om-3d7k.c b/arch/arm/mach-s3c6410/mach-om-3d7k.c
index 79b24bbe533..54697da6a72 100644
--- a/arch/arm/mach-s3c6410/mach-om-3d7k.c
+++ b/arch/arm/mach-s3c6410/mach-om-3d7k.c
@@ -915,6 +915,11 @@ static void om_3d7k_lp5521_chip_enable(int level)
}
static struct lp5521_platform_data om_3d7k_lp5521_pdata = {
+ .channels = {
+ [LP5521_BLUE] = LP5521_CONNECTED,
+ [LP5521_GREEN] = LP5521_CONNECTED,
+ [LP5521_RED] = LP5521_NC,
+ },
.ext_enable = om_3d7k_lp5521_chip_enable,
};