diff options
| author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2013-02-21 23:52:57 +0000 | 
|---|---|---|
| committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-03-27 21:17:12 +0900 | 
| commit | 29fd57046e3c33c5d75eb2e7e6607cdf49e162ac (patch) | |
| tree | 60cdc800b7d2af88aba01cbb838cfaae09734f10 /include/lcd.h | |
| parent | 7ee68fe85f1a9e9db17d9760998c284cb85f56fa (diff) | |
| download | olio-uboot-2014.01-29fd57046e3c33c5d75eb2e7e6607cdf49e162ac.tar.xz olio-uboot-2014.01-29fd57046e3c33c5d75eb2e7e6607cdf49e162ac.zip | |
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>
Diffstat (limited to 'include/lcd.h')
| -rw-r--r-- | include/lcd.h | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/include/lcd.h b/include/lcd.h index 4ac4ddd1e..a6822d29f 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -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; |