linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ezusb: add dependency to USB
       [not found] <6ea638d3-6ab4-42af-aadb-398cc8593f08@shmail0>
@ 2012-11-22 18:10 ` Rene Buergel
  2012-11-22 18:27   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Rene Buergel @ 2012-11-22 18:10 UTC (permalink / raw)
  To: linux-kernel, linux-usb; +Cc: Greg Kroah-Hartman, mroos

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>
--
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
 	help
 	  Say Y here if you need EZUSB device support.
 	  (Cypress FX/FX2/FX2LP microcontrollers)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ezusb: add dependency to USB
  2012-11-22 18:10 ` [PATCH] ezusb: add dependency to USB Rene Buergel
@ 2012-11-22 18:27   ` Greg Kroah-Hartman
  2012-11-26  5:50     ` Rene Buergel
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2012-11-22 18:27 UTC (permalink / raw)
  To: Rene Buergel; +Cc: linux-kernel, linux-usb, mroos

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@sohard.de>
> --
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ezusb: add dependency to USB
  2012-11-22 18:27   ` Greg Kroah-Hartman
@ 2012-11-26  5:50     ` Rene Buergel
  0 siblings, 0 replies; 3+ messages in thread
From: Rene Buergel @ 2012-11-26  5:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel, linux-usb

----- Ursprüngliche Mail -----
> 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.
> 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
> 

you're welcome,

René Bürgel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-26  5:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <6ea638d3-6ab4-42af-aadb-398cc8593f08@shmail0>
2012-11-22 18:10 ` [PATCH] ezusb: add dependency to USB Rene Buergel
2012-11-22 18:27   ` Greg Kroah-Hartman
2012-11-26  5:50     ` Rene Buergel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).