aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-11 16:59:04 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:40:49 -0400
commit018882aa66f5110478edc14e6c3fecc2b46ca0c0 (patch)
treeaf28c376103c290cc17f4dab05af92f46365e076 /include/video
parentaa7b5b0b2db6d33a8104e411cb74c15a4983b286 (diff)
fbdev: sh_mobile_lcdc: Remove board configuration board_data field
The field is unused, remove it. Update board code accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/sh_mobile_lcdc.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/video/sh_mobile_lcdc.h b/include/video/sh_mobile_lcdc.h
index 163f4b704bf9..62be2c933e9f 100644
--- a/include/video/sh_mobile_lcdc.h
+++ b/include/video/sh_mobile_lcdc.h
@@ -148,15 +148,14 @@ struct sh_mobile_lcdc_sys_bus_ops {
148}; 148};
149 149
150struct sh_mobile_lcdc_board_cfg { 150struct sh_mobile_lcdc_board_cfg {
151 void *board_data; 151 int (*setup_sys)(void *sys_ops_handle,
152 int (*setup_sys)(void *board_data, void *sys_ops_handle,
153 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 152 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
154 void (*start_transfer)(void *board_data, void *sys_ops_handle, 153 void (*start_transfer)(void *sys_ops_handle,
155 struct sh_mobile_lcdc_sys_bus_ops *sys_ops); 154 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
156 void (*display_on)(void *board_data, struct fb_info *info); 155 void (*display_on)(void);
157 void (*display_off)(void *board_data); 156 void (*display_off)(void);
158 int (*set_brightness)(void *board_data, int brightness); 157 int (*set_brightness)(int brightness);
159 int (*get_brightness)(void *board_data); 158 int (*get_brightness)(void);
160}; 159};
161 160
162struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */ 161struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */