]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: Backlight configuration struct
authorandrzej zaborowski <balrog@zabor.org>
Tue, 5 Sep 2006 14:57:48 +0000 (17:57 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Sep 2006 14:57:48 +0000 (17:57 +0300)
This adds a structure that can be used in the omap board files to pass
data about backlight device when registering platform devices.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/board.h

index 9e1cbe348b8b96284b902933720013dd37bd00da..2075f556bfe4f709d0212b05cf07475d669ea15e 100644 (file)
@@ -105,6 +105,14 @@ struct omap_lcd_config {
        u8   data_lines;
 };
 
+struct device;
+struct fb_info;
+struct omap_backlight_config {
+       int default_intensity;
+       int (*set_power)(struct device *dev, int state);
+       int (*check_fb)(struct fb_info *fb);
+};
+
 struct omap_fbmem_config {
        u32 start;
        u32 size;