Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/udl: Make udl driver depend on CONFIG_USB

The udl driver for DisplayLink devices depends on support for host-side
USB controllers, which is enabled with CONFIG_USB. Plain USB support as
given by CONFIG_USB_SUPPORT is not sufficient.

This patch changes dependencies for udl to depend on CONFIG_USB, instead
of CONFIG_USB_SUPPORT. Users will have to enable CONFIG_USB and select a
USB host controller. With this change udl dependencies work the same way
as dependencies for PCI drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106141016.9562-1-tzimmermann@suse.de

+1 -2
+1 -2
drivers/gpu/drm/udl/Kconfig
··· 2 2 config DRM_UDL 3 3 tristate "DisplayLink" 4 4 depends on DRM 5 - depends on USB_SUPPORT 5 + depends on USB 6 6 depends on USB_ARCH_HAS_HCD 7 - select USB 8 7 select DRM_GEM_SHMEM_HELPER 9 8 select DRM_KMS_HELPER 10 9 help