Commit 1cb34dd2 authored by andrzej zaborowski's avatar andrzej zaborowski Committed by Tony Lindgren

[PATCH] ARM: OMAP: Register LCD backlight on PalmTE

Add the backlight device to the list of platform devices to register
on the Palm Tungsten E board. In the same way the device can be added
in other board files if a board has a single LCD with the backlight
controlled by OMAP PWL module.
Signed-off-by: default avatarAndrzej Zaborowski <balrog@zabor.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b5b46978
......@@ -43,8 +43,21 @@ static struct platform_device palmte_lcd_device = {
.id = -1,
};
static struct omap_backlight_config palmte_backlight_config = {
.default_intensity = 0xa0,
};
static struct platform_device palmte_backlight_device = {
.name = "omap-bl",
.id = -1,
.dev = {
.platform_data = &palmte_backlight_config,
},
};
static struct platform_device *devices[] __initdata = {
&palmte_lcd_device,
&palmte_backlight_device,
};
static struct omap_usb_config palmte_usb_config __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment