summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/ulpi_viewport.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2012-02-13 13:24:13 +0200
committerFelipe Balbi <balbi@ti.com>2012-02-13 13:35:56 +0200
commit298b083cf9dd2efd9bb7020107ab0077135051e0 (patch)
tree8b91a484f0bba706830fdb8c06ff9157b1f5bb8a /drivers/usb/otg/ulpi_viewport.c
parent46b8f6b0eb9a9df137c76ea04564c3648fdc63d4 (diff)
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>
Diffstat (limited to 'drivers/usb/otg/ulpi_viewport.c')
-rw-r--r--drivers/usb/otg/ulpi_viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/ulpi_viewport.c b/drivers/usb/otg/ulpi_viewport.c
index e7b311b960b..c5ba7e5423f 100644
--- a/drivers/usb/otg/ulpi_viewport.c
+++ b/drivers/usb/otg/ulpi_viewport.c
@@ -74,7 +74,7 @@ static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg)
return ulpi_viewport_wait(view, ULPI_VIEW_RUN);
}
-struct otg_io_access_ops ulpi_viewport_access_ops = {
+struct usb_phy_io_ops ulpi_viewport_access_ops = {
.read = ulpi_viewport_read,
.write = ulpi_viewport_write,
};