mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 18:11:20 +00:00
usb: otg: ulpi: Start using struct usb_otg
Use struct usb_otg members with OTG specific functions instead of usb_phy members. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
46b8f6b0eb
commit
298b083cf9
6 changed files with 72 additions and 60 deletions
|
@ -181,12 +181,12 @@
|
|||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
struct usb_phy *otg_ulpi_create(struct otg_io_access_ops *ops,
|
||||
struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
|
||||
unsigned int flags);
|
||||
|
||||
#ifdef CONFIG_USB_ULPI_VIEWPORT
|
||||
/* access ops for controllers with a viewport register */
|
||||
extern struct otg_io_access_ops ulpi_viewport_access_ops;
|
||||
extern struct usb_phy_io_ops ulpi_viewport_access_ops;
|
||||
#endif
|
||||
|
||||
#endif /* __LINUX_USB_ULPI_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue