staging: vboxvideo: select DRM_TTM
authorCihangir Akturk <cakturk@gmail.com>
Tue, 1 Aug 2017 18:05:41 +0000 (21:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Aug 2017 22:57:15 +0000 (15:57 -0700)
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@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/Kconfig

index f89f931..1f4182e 100644 (file)
@@ -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