drm/xen: adjust Kconfig
authorJan Beulich <jbeulich@suse.com>
Tue, 23 Feb 2021 16:41:03 +0000 (17:41 +0100)
committerOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Mon, 1 Mar 2021 06:03:45 +0000 (08:03 +0200)
By having selected DRM_XEN, I was assuming I would build the frontend
driver. As it turns out this is a dummy option, and I have really not
been building this (because I had DRM disabled). Make it a promptless
one, moving the "depends on" to the other, real option, and "select"ing
the dummy one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Link: https://patchwork.freedesktop.org/patch/msgid/54ae54f9-1ba9-900b-a56f-f48e2c9a82b0@suse.com
drivers/gpu/drm/xen/Kconfig

index fab1373..7eb0ce3 100644 (file)
@@ -1,15 +1,11 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_XEN
-       bool "DRM Support for Xen guest OS"
-       depends on XEN
-       help
-         Choose this option if you want to enable DRM support
-         for Xen.
+       bool
 
 config DRM_XEN_FRONTEND
        tristate "Para-virtualized frontend driver for Xen guest OS"
-       depends on DRM_XEN
-       depends on DRM
+       depends on XEN && DRM
+       select DRM_XEN
        select DRM_KMS_HELPER
        select VIDEOMODE_HELPERS
        select XEN_XENBUS_FRONTEND