On Tue, Jan 25, 2011 at 01:52:05PM +0530, Anoop P.A wrote: > +#ifdef CONFIG_MSP_HAS_DUAL_USB > +#define NUM_USB_DEVS 2 > +#else > +#define NUM_USB_DEVS 1 > +#endif I thought you meant to replace CONFIG_MSP_HAS_DUAL_USB with a runtime check? Ralf
On Tue, Jan 25, 2011 at 01:52:05PM +0530, Anoop P.A wrote: > +#ifdef CONFIG_MSP_HAS_DUAL_USB > +#define NUM_USB_DEVS 2 > +#else > +#define NUM_USB_DEVS 1 > +#endif I thought you meant to replace CONFIG_MSP_HAS_DUAL_USB with a runtime check? Ralf