[PATCH]gpu:drm: Add missing dependency on DRM KMS/FB CMA helper

Wang YanQing udknight at gmail.com
Mon Apr 1 19:01:37 PDT 2013


Commit 2e3b3c42f06ff6801b3d7839757bbdb231619083
(Add DRM KMS/FB CMA helper) add a kbuild entry,
config DRM_KMS_CMA_HELPER, in DRM's Kconfig without
dependence on DRM, it cause DRM's kconfig can't
be show in a submenu.

This patch fix it.

Signed-off-by: Wang YanQing <udknight at gmail.com>
---
 drivers/gpu/drm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 1e82882..28e3cb4 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -63,6 +63,7 @@ config DRM_GEM_CMA_HELPER
 
 config DRM_KMS_CMA_HELPER
 	bool
+	depends on DRM
 	select DRM_GEM_CMA_HELPER
 	select FB_SYS_FILLRECT
 	select FB_SYS_COPYAREA
-- 
1.7.12.4.dirty


More information about the dri-devel mailing list