mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
fbdev: sh_mobile_lcdc: Move brightness ops to sh_mobile_lcdc_bl_info
Update board code accordingly. Signed-off-by: Laurent Pinchart <[email protected]>
This commit is contained in:
parent
018882aa66
commit
43059b0f46
5 changed files with 10 additions and 16 deletions
|
|
@ -154,8 +154,6 @@ struct sh_mobile_lcdc_board_cfg {
|
|||
struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
|
||||
void (*display_on)(void);
|
||||
void (*display_off)(void);
|
||||
int (*set_brightness)(int brightness);
|
||||
int (*get_brightness)(void);
|
||||
};
|
||||
|
||||
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 */
|
|||
struct sh_mobile_lcdc_bl_info {
|
||||
const char *name;
|
||||
int max_brightness;
|
||||
int (*set_brightness)(int brightness);
|
||||
int (*get_brightness)(void);
|
||||
};
|
||||
|
||||
struct sh_mobile_lcdc_chan_cfg {
|
||||
|
|
|
|||
Loading…
Reference in a new issue