Re: [PATCH 2/2] usb: otg: introduce otg_notify_event and otg_get_last_event

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

 



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


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

  Powered by Linux