video: exynos_fb: Make fimd_ctrl global
authorAjay Kumar <ajaykumar.rs@samsung.com>
Thu, 21 Feb 2013 23:52:59 +0000 (23:52 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 27 Mar 2013 12:17:19 +0000 (21:17 +0900)
commit47ff6073a8c8cb12571701ebd2965cf643973b37
treef95a0ae4adc0d27e2641657756432f4129312115
parentc18222bee868ae65a878165551d3d407c402f48c
video: exynos_fb: Make fimd_ctrl global

fimd_ctrl variable was redundantly defined across all the functions in
the driver even though it contains just the same address. We make it
global and initialize it in exynos_fimd_lcd_init. From then on, other
funtions can use the data in the global variable.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/video/exynos_fimd.c