ezusb: add dependency to USB
authorRene Buergel <rene.buergel@sohard.de>
Thu, 22 Nov 2012 18:10:50 +0000 (19:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2012 19:06:53 +0000 (11:06 -0800)
commit 9db72fe6c943852032d9ed863c87e8c02d3cb9da upstream.

This fixes an error during modpost, when ezusb is built into the kernel
while USB is built as module.

Signed-off-by: René Bürgel <rene.buergel@sohard.de>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/Kconfig

index a8f05239350e665feeb9640074e5bac228881174..fecde69bfa7deea75fba4748bd8fe7c24a2e6b39 100644 (file)
@@ -246,6 +246,7 @@ config USB_YUREX
 
 config USB_EZUSB_FX2
        tristate "Functions for loading firmware on EZUSB chips"
+       depends on USB
        help
          Say Y here if you need EZUSB device support.
          (Cypress FX/FX2/FX2LP microcontrollers)