Hi, On Thu, May 05, 2011 at 11:26:05AM +0200, Anatolij Gustschin wrote: > diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h > index bc84858..374d6a9 100644 > --- a/include/linux/usb/otg.h > +++ b/include/linux/usb/otg.h > @@ -246,6 +246,14 @@ otg_unregister_notifier(struct otg_transceiver *otg, struct notifier_block *nb) > > /* for OTG controller drivers (and maybe other stuff) */ > extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num); > + > +#ifdef CONFIG_USB_OTG_UTILS > extern const char *otg_state_string(enum usb_otg_state state); > +#else > +static inline const char *otg_state_string(enum usb_otg_state state) > +{ > + return NULL; > +} > +#endif there's already one such ifdef on that header, move this there instead of adding another one. -- 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