From: Hans de Goede Date: Tue, 25 Jul 2017 08:50:46 +0000 (+0200) Subject: staging: vboxvideo: select GENERIC_ALLOCATOR X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33ad3fdcf95a552486cf8a95543037d8ebb069f6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: vboxvideo: select GENERIC_ALLOCATOR The vboxvideo code uses various gen_pool_* functions, so it needs lib/genalloc.c to be built. In some configs this is not happening, so add select GENERIC_ALLOCATOR to the Kconfig file to enforce this. Note all other Kconfig references to GENERIC_ALLOCATOR also use select. Signed-off-by: Hans de Goede Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vboxvideo/Kconfig b/drivers/staging/vboxvideo/Kconfig index a52746f9a670..cfabe3ce4bab 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 GENERIC_ALLOCATOR help This is a KMS driver for the virtual Graphics Card used in Virtual Box virtual machines.