Re: [PATCH] ezusb: add dependency to USB

From: Greg Kroah-Hartman
Date: Thu Nov 22 2012 - 13:26:32 EST


On Thu, Nov 22, 2012 at 07:10:50PM +0100, Rene Buergel wrote:
> 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@xxxxxxxxx>
> --
> diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
> index a8f0523..fecde69 100644
> --- a/drivers/usb/misc/Kconfig
> +++ b/drivers/usb/misc/Kconfig
> @@ -246,6 +246,7 @@ config USB_YUREX
>
> config USB_EZUSB_FX2
> tristate "Functions for loading firmware on EZUSB chips"
> + depends on USB

Ah, that makes sense, thanks for the fix, I'll queue it up for 3.8 and
backport it for 3.7-stable as well.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/