On Wed, Oct 06, 2010 at 09:01:33AM +0200, ext Maulik Mankad wrote: >> +static inline int >> +otg_get_last_event(struct otg_transceiver *otg) >> +{ >> + return otg_notify_event(otg, otg->last_event, otg->last_event_data); >> +} >> + > Should this be static? > > If drivers need to get the last event they need to call this function > in which case you need to export this function. > > Regards, > Maulik It's a header file. All the funtions in otg.h are declared static. -- heikki -- 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