diff options
author | Donghwa Lee <dh09.lee@samsung.com> | 2012-04-25 13:29:39 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:25 +0200 |
commit | c20545691a3861ece0319cf5ad257714f1b502fd (patch) | |
tree | 00ad61a1ecbc94caf605965ca630ea06ed103769 /drivers/video | |
parent | 7775831dd39ba3cadefd3158ee84aa619873b759 (diff) | |
download | u-boot-imx-c20545691a3861ece0319cf5ad257714f1b502fd.zip u-boot-imx-c20545691a3861ece0319cf5ad257714f1b502fd.tar.gz u-boot-imx-c20545691a3861ece0319cf5ad257714f1b502fd.tar.bz2 |
TRATS: initialize panel_info data structure in board file
panel_info data structure is gloable variable, so, I have initialized it
in board file. If it is initialized in init_panel_info() like existing,
it can't be used in drv_lcd_init() in common/lcd.c because
init_panel_info() is called after drv_lcd_init().
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/exynos_fb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/exynos_fb.c b/drivers/video/exynos_fb.c index 92be4ea..49fdfec 100644 --- a/drivers/video/exynos_fb.c +++ b/drivers/video/exynos_fb.c @@ -44,9 +44,6 @@ short console_row; static unsigned int panel_width, panel_height; -/* LCD Panel data */ -vidinfo_t panel_info; - static void exynos_lcd_init_mem(void *lcdbase, vidinfo_t *vid) { unsigned long palette_size; |