summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2012-02-13 12:24:03 +0100
committerFelipe Balbi <balbi@ti.com>2012-02-13 12:34:56 +0100
commitde07e18c00c403d5076a5a697d83fe3ced73bc30 (patch)
tree6356bf89b0f30b15ce29d7b7dba9a3b202df0167 /include
parentusb: otg: Rename otg_transceiver to usb_phy (diff)
downloadlinux-de07e18c00c403d5076a5a697d83fe3ced73bc30.tar.xz
linux-de07e18c00c403d5076a5a697d83fe3ced73bc30.zip
usb: otg: Rename usb_xceiv_event to usb_phy_event
Convert all users. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/otg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index e0bc55702a89..723a000146f8 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -35,7 +35,7 @@ enum usb_otg_state {
OTG_STATE_A_VBUS_ERR,
};
-enum usb_xceiv_events {
+enum usb_phy_events {
USB_EVENT_NONE, /* no events or cable disconnected */
USB_EVENT_VBUS, /* vbus valid event */
USB_EVENT_ID, /* id was grounded */
@@ -66,7 +66,7 @@ struct usb_phy {
u8 default_a;
enum usb_otg_state state;
- enum usb_xceiv_events last_event;
+ enum usb_phy_events last_event;
struct usb_bus *host;
struct usb_gadget *gadget;
@@ -74,7 +74,7 @@ struct usb_phy {
struct otg_io_access_ops *io_ops;
void __iomem *io_priv;
- /* for notification of usb_xceiv_events */
+ /* for notification of usb_phy_events */
struct atomic_notifier_head notifier;
/* to pass extra port status to the root hub */