diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-11 16:59:04 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 17:40:49 -0400 |
commit | 43059b0f46f814b4152f327c701d079253904540 (patch) | |
tree | 79b38296fd3c47b0939c6fd3a3a06195f65585a9 /include/video | |
parent | 018882aa66f5110478edc14e6c3fecc2b46ca0c0 (diff) |
fbdev: sh_mobile_lcdc: Move brightness ops to sh_mobile_lcdc_bl_info
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/video/sh_mobile_lcdc.h b/include/video/sh_mobile_lcdc.h index 62be2c933e9f..ecde6aad6f29 100644 --- a/include/video/sh_mobile_lcdc.h +++ b/include/video/sh_mobile_lcdc.h | |||
@@ -154,8 +154,6 @@ struct sh_mobile_lcdc_board_cfg { | |||
154 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); | 154 | struct sh_mobile_lcdc_sys_bus_ops *sys_ops); |
155 | void (*display_on)(void); | 155 | void (*display_on)(void); |
156 | void (*display_off)(void); | 156 | void (*display_off)(void); |
157 | int (*set_brightness)(int brightness); | ||
158 | int (*get_brightness)(void); | ||
159 | }; | 157 | }; |
160 | 158 | ||
161 | struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */ | 159 | struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */ |
@@ -167,6 +165,8 @@ struct sh_mobile_lcdc_lcd_size_cfg { /* width and height of panel in mm */ | |||
167 | struct sh_mobile_lcdc_bl_info { | 165 | struct sh_mobile_lcdc_bl_info { |
168 | const char *name; | 166 | const char *name; |
169 | int max_brightness; | 167 | int max_brightness; |
168 | int (*set_brightness)(int brightness); | ||
169 | int (*get_brightness)(void); | ||
170 | }; | 170 | }; |
171 | 171 | ||
172 | struct sh_mobile_lcdc_chan_cfg { | 172 | struct sh_mobile_lcdc_chan_cfg { |