diff mbox

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

Message ID 20130402020137.GA32592@udknight (mailing list archive)
State New, archived
Headers show

Commit Message

wang yanqing April 2, 2013, 2:01 a.m. UTC
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@gmail.com>
---
 drivers/gpu/drm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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