carl9170 firmware: USB_MODESWITCH depends on USB_STANDARD_CMDS
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:34:49 +0000 (23:34 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:35:33 +0000 (23:35 +0100)
usb.c:170:13: error: ‘usb_reset_eps’ defined but not used

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/Kconfig

index 09445c4200a78c1925a8cdc3ff8cb016f9a29c55..656fcdb4ddd67a66db67e8fb0690f24d10e45a92 100644 (file)
@@ -190,7 +190,7 @@ config CARL9170FW_UNUSABLE
 config CARL9170FW_USB_MODESWITCH
        def_bool n
        prompt "USB 1.1 / 2.0 switching support"
-       depends on CARL9170FW_BROKEN_FEATURES
+       depends on CARL9170FW_BROKEN_FEATURES && CARL9170FW_USB_STANDARD_CMDS
        ---help---
         Mostly implemented, but untested and some serious
         doubts remain.