[PATCH] staging: vboxvideo: select DRM_TTM

From: Cihangir Akturk
Date: Tue Aug 01 2017 - 14:06:04 EST


vboxvideo code uses various ttm_* functions, so it needs
"drivers/gpu/drm/ttm/*" to be built. In order to build these objects
select DRM_TTM.

This commit fixes "ttm_*" undefined build errors.

Signed-off-by: Cihangir Akturk <cakturk@xxxxxxxxx>
---
drivers/staging/vboxvideo/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/vboxvideo/Kconfig b/drivers/staging/vboxvideo/Kconfig
index f89f931..1f4182e 100644
--- a/drivers/staging/vboxvideo/Kconfig
+++ b/drivers/staging/vboxvideo/Kconfig
@@ -2,6 +2,7 @@ config DRM_VBOXVIDEO
tristate "Virtual Box Graphics Card"
depends on DRM && X86 && PCI
select DRM_KMS_HELPER
+ select DRM_TTM
select GENERIC_ALLOCATOR
help
This is a KMS driver for the virtual Graphics Card used in
--
2.7.4