[PATCH 1/3] add USB setup code for 8349emds PB

Li Yang-r58472 LeoLi at freescale.com
Tue Feb 6 16:00:12 EST 2007


> >> Huh, it would look like:
> >>
> >> #if defined(CONFIG_USB) || defined(CONFIG_USB_GADGET).
> >
> > Are you sure we don't need CONFIG_USB_MODULE and
> > CONFIG_USB_GADGET_MODULE any more?  At least in some early kernel
> > version, they are needed explicitly.
> 
> I'm not seeing any references to either CONFIG option.

There is no direct reference to the CONFIG_*_MODULE.  But if you
configure a driver to be module, the CONFIG_*_MODULE is defined not
CONFIG_*.  Here we need the init code when USB host or gadget is
selected either as built-in or module.

- Leo



More information about the Linuxppc-dev mailing list