mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
video: exynos_fb: Remove callbacks from the driver
Replaced the functionality of callbacks by using a standard set of functions. Instead of implementing and hooking up a callback, put the same code in one of the standard set of functions by overriding it. This patch is tested only on SMDK5250. For Trats and universal_c210 board, it is only compile tested. Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
@ -234,15 +234,6 @@ typedef struct vidinfo {
|
||||
u_char vl_vbpd; /* Wait end of frame */
|
||||
u_char vl_cmd_allow_len; /* Wait end of frame */
|
||||
|
||||
void (*cfg_gpio)(void);
|
||||
void (*backlight_on)(unsigned int onoff);
|
||||
void (*reset_lcd)(void);
|
||||
void (*lcd_power_on)(void);
|
||||
void (*cfg_ldo)(void);
|
||||
void (*enable_ldo)(unsigned int onoff);
|
||||
void (*mipi_power)(void);
|
||||
void (*backlight_reset)(void);
|
||||
|
||||
unsigned int win_id;
|
||||
unsigned int init_delay;
|
||||
unsigned int power_on_delay;
|
||||
|
Reference in New Issue
Block a user