drm/usb: select USB_SUPPORT in Kconfig
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 10 Aug 2012 05:30:25 +0000 (05:30 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Aug 2012 23:54:54 +0000 (09:54 +1000)
DRM_USB selects USB. However, USB depends on USB_SUPPORT and USB_ARCH_HAS_HCD.
Thus, selecting USB_SUPPORT in Kconfig avoids the following warning
(detected when DisplayLink was selected using exynos4_defconfig):

warning: (MOUSE_APPLETOUCH && MOUSE_BCM5974 && MOUSE_SYNAPTICS_USB && JOYSTICK_XPAD && TABLET_USB_ACECAD && TABLET_USB_AIPTEK && TABLET_USB_HANWANG && TABLET_USB_KBTAB && TABLET_USB_WACOM && TOUCHSCREEN_USB_COMPOSITE && INPUT_ATI_REMOTE2 && INPUT_KEYSPAN_REMOTE && INPUT_POWERMATE && INPUT_YEALINK && INPUT_CM109 && RC_ATI_REMOTE && IR_IMON && IR_MCEUSB && IR_REDRAT3 && IR_STREAMZAP && IR_IGUANA && DRM_USB) selects USB which has unmet direct dependencies (USB_SUPPORT && USB_ARCH_HAS_HCD)

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig

index 23120c00a88175db9c74d4c33bff8a4d9e324fdc..45536db74d8cefbfe81ec54da14168255a456554 100644 (file)
@@ -23,6 +23,7 @@ config DRM_USB
        tristate
        depends on DRM
        select USB
+       select USB_SUPPORT
 
 config DRM_KMS_HELPER
        tristate