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: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
.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 = {