aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/sh_mobile_lcdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/sh_mobile_lcdc.h')
-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 */