drm/exynos: build fbdev code conditionally
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 15 Mar 2016 11:43:21 +0000 (12:43 +0100)
committerInki Dae <daeinki@gmail.com>
Fri, 29 Apr 2016 16:03:45 +0000 (01:03 +0900)
commit25c6a853fcea78443d6545dbce48b6e899aae85b
treebcc10fdbbf4fa8e24cb20014294f2f3575eeb0b7
parent81e50bcd1b2198d76739a9ee3279ac9a61209dfb
drm/exynos: build fbdev code conditionally

Fbdev code should be compiled only if CONFIG_DRM_FBDEV_EMULATION option
is enabled. The patch fixes exynos-drm code trying to manipulate
fbdev data which is not initialized in case CONFIG_DRM_FBDEV_EMULATION
is disabled.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/Makefile
drivers/gpu/drm/exynos/exynos_drm_fb.c
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_fbdev.h