]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Tue, 12 Apr 2016 13:50:54 +0000 (22:50 +0900)
commit96b06f5ac2f0668478075d191e6d97cf0fa4572d
treebe787dd62496b42581edead278b2e889bfcd8d76
parent0988e5b8ef44670cd5124f1e032927bf3bdc1635
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