aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-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 {
35 OTG_STATE_A_VBUS_ERR, 35 OTG_STATE_A_VBUS_ERR,
36}; 36};
37 37
38enum usb_xceiv_events { 38enum usb_phy_events {
39 USB_EVENT_NONE, /* no events or cable disconnected */ 39 USB_EVENT_NONE, /* no events or cable disconnected */
40 USB_EVENT_VBUS, /* vbus valid event */ 40 USB_EVENT_VBUS, /* vbus valid event */
41 USB_EVENT_ID, /* id was grounded */ 41 USB_EVENT_ID, /* id was grounded */
@@ -66,7 +66,7 @@ struct usb_phy {
66 66
67 u8 default_a; 67 u8 default_a;
68 enum usb_otg_state state; 68 enum usb_otg_state state;
69 enum usb_xceiv_events last_event; 69 enum usb_phy_events last_event;
70 70
71 struct usb_bus *host; 71 struct usb_bus *host;
72 struct usb_gadget *gadget; 72 struct usb_gadget *gadget;
@@ -74,7 +74,7 @@ struct usb_phy {
74 struct otg_io_access_ops *io_ops; 74 struct otg_io_access_ops *io_ops;
75 void __iomem *io_priv; 75 void __iomem *io_priv;
76 76
77 /* for notification of usb_xceiv_events */ 77 /* for notification of usb_phy_events */
78 struct atomic_notifier_head notifier; 78 struct atomic_notifier_head notifier;
79 79
80 /* to pass extra port status to the root hub */ 80 /* to pass extra port status to the root hub */