On Thu, 7 Apr 2011, Jassi Brar wrote: > On Wed, Apr 6, 2011 at 11:41 PM, Greg KH <greg@xxxxxxxxx> wrote: > > On Wed, Apr 06, 2011 at 11:14:28PM +0530, Jassi Brar wrote: > >> On Wed, Apr 6, 2011 at 3:12 PM, Felipe Balbi <balbi@xxxxxx> wrote: > >> > CONFIG_USB is only for the host side, if we > >> > want to build a device-only kernel and our > >> > gadget Makefile is dependent on drivers/usb/Makefile > >> > we won't be able to have the driver unless we > >> > enable host side support. Fix it. > >> > >> I can't help but get heretic ideas in my mind - there should > >> be two separate and independent entries in make menuconfig > >> For USB Host and USB Gadget each. And 'while at it' we'd > >> better reorganise the files/directory structure as well :) > > > > We thought about that years ago, but decided not to do that, sorry. > > I see... let me dig archives. There must be some reason > that kept us from doing such a 'trivially right' thing :) IIRC it had something to do with the difficulties posed by OTG, which requires both host- and device-side support. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html