From b5b4697820258ff2e1bd33afa0bee1f3f84fcd5a Mon Sep 17 00:00:00 2001 From: andrzej zaborowski Date: Tue, 5 Sep 2006 17:57:48 +0300 Subject: [PATCH] [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 --- include/asm-arm/arch-omap/board.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.41.1