Re: [RFC/PATCH] usb: core: do not build otg if not transceiver is in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 06, 2009 at 02:43:37PM +0200, Quadros Roger (EXT-Teleca/Helsinki) wrote:
> please see my comments below
> 
> Felipe Balbi wrote:
> > error out configurations with OTG and no transceivers.
> > 
> > Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> > ---
> >  drivers/usb/core/usb.c  |    3 +++
> >  drivers/usb/otg/Kconfig |    8 ++++++++
> >  2 files changed, 11 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
> > index a26f738..f4a28ff 100644
> > --- a/drivers/usb/core/usb.c
> > +++ b/drivers/usb/core/usb.c
> > @@ -44,6 +44,9 @@
> >  #include "hcd.h"
> >  #include "usb.h"
> >  
> > +#if defined(USB_OTG) && !defined(USB_OTG_TRANSCEIVER)
> > +#error "Cannot support OTG without a transceiver"
> > +#endif
> 
> should be CONFIG_USB_OTG and CONFIG_USB_OTG_TRANSCEIVER

true... sorry for that.. missed it.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux