[PATCH 4/4] Add LED channel information in lp5521 platform data for 3d7k.
Matt Hsu
matt_hsu at openmoko.org
Fri Mar 6 06:55:51 CET 2009
Signed-off-by: Matt Hsu <matt_hsu at openmoko.org>
---
arch/arm/mach-s3c6410/mach-om-3d7k.c | 5 +++++
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 79b24bb..54697da 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,
};
--
1.5.6.5
More information about the openmoko-kernel
mailing list