]> 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>
Fri, 29 Apr 2016 16:03:45 +0000 (01:03 +0900)
commit0632a2067ede66283728862eb69c564ae3e370c2
treebcc10fdbbf4fa8e24cb20014294f2f3575eeb0b7
parent083c13e23b666320fd46cb5a920c3a2d1ead1e8e
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