mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
video: atmel_lcdfb: pass the pdata as params
so we can use have list gpio as example (probe via DT) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
This commit is contained in:
parent
42110e91de
commit
ce3b64f5f1
6 changed files with 9 additions and 7 deletions
|
|
@ -41,8 +41,10 @@ struct atmel_lcdfb_pdata {
|
|||
u8 lcd_wiring_mode;
|
||||
unsigned int default_lcdcon2;
|
||||
unsigned int default_dmacon;
|
||||
void (*atmel_lcdfb_power_control)(int on);
|
||||
void (*atmel_lcdfb_power_control)(struct atmel_lcdfb_pdata *pdata, int on);
|
||||
struct fb_monspecs *default_monspecs;
|
||||
|
||||
struct list_head pwr_gpios;
|
||||
};
|
||||
|
||||
#define ATMEL_LCDC_DMABADDR1 0x00
|
||||
|
|
|
|||
Loading…
Reference in a new issue