[PATCH v2 1/4] USB: OHCI: Export the ohci_hub_control function

Alan Stern stern at rowland.harvard.edu
Tue Apr 15 11:01:54 PDT 2014


On Tue, 15 Apr 2014, Laurent Pinchart wrote:

> Platform drivers sometimes need to perform specific handling of hub
> control requests. Make this possible by exporting the ohci_hub_control()
> function which can then be called from a custom hub control handler in
> the default case.

You should also export ohci_hub_status_data(), since it also gets
overridden by these other drivers.

For ehci-hcd, this doesn't seem to matter since ehci_hub_status_data 
doesn't get overridden anywhere.

Alan Stern





More information about the linux-arm-kernel mailing list