video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected
authorAjay Kumar <ajaykumar.rs@samsung.com>
Sun, 13 Jan 2013 23:32:16 +0000 (23:32 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 14 Jan 2013 10:17:28 +0000 (19:17 +0900)
commite4660e0b7363cdc86519f4af2143b841592a7ffd
tree591c600d89398d3cfbeed73ef9b180c46231c0ec
parent02a58b934036dfaa74afb61d383771eda444642b
video: exynos_fb: Make a call to draw_logo only when CONFIG_CMD_BMP is selected

Previously, the call to draw_logo() was happening irrespective
of whether we have selected logo or LCD console.
With this patch we call draw_logo() only when CONFIG_CMD_BMP is selected.

This would even fix the following compilation warning:
exynos_fb.c: In function 'draw_logo':
exynos_fb.c:74:8: warning: variable 'addr' set but not used
[-Wunused-but-set-variable]
exynos_fb.c:73:9: warning: variable 'y' set but not used
[-Wunused-but-set-variable]
exynos_fb.c:73:6: warning: variable 'x' set but not used
[-Wunused-but-set-variable]

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