From: andrzej zaborowski Date: Tue, 5 Sep 2006 14:57:48 +0000 (+0300) Subject: [PATCH] ARM: OMAP: Backlight configuration struct X-Git-Tag: v2.6.18-omap1~88^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b5b4697820258ff2e1bd33afa0bee1f3f84fcd5a;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: Backlight configuration struct 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 Signed-off-by: Tony Lindgren --- diff --git a/include/asm-arm/arch-omap/board.h b/include/asm-arm/arch-omap/board.h index 9e1cbe348b8..2075f556bfe 100644 --- a/include/asm-arm/arch-omap/board.h +++ b/include/asm-arm/arch-omap/board.h @@ -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;