Re: [PATCHv5 1/4] usb: Provide usb_speed_string() function

From: Alan Stern
Date: Fri Aug 26 2011 - 16:46:11 EST


On Fri, 26 Aug 2011, Michal Nazarewicz wrote:

> On Fri, 26 Aug 2011 20:49:05 +0200, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> wrote:
> > I don't know. Michal, can you look into this? What we want is:
> >
> > common.o gets included in the main kernel if either CONFIG_USB
> > or CONFIG_USB_GADGET is set to Y.
> >
> > Otherwise, if either symbol is set to M then common.o gets
> > built into its own little module. Perhaps some other stuff
> > could get put in there too, though at the moment I can't
> > think of anything.
>
> Wouldn't that be accomplished by a tristate Kconfig option selected by
> USB and USB_GADGET? Or a tristate that defaults to âyâ but depends on
> USB or USB_GADGET?

Like I said, I don't know. Try it and see.

Alan Stern

--
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/