diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-06-13 08:34:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 15:38:36 -0400 |
commit | c2e935a7db6e7354e9dd138b7f6f4c53affc09d9 (patch) | |
tree | 4e68dbb44f0924cc6b01385b2ec99124486446dd /include/linux/usb | |
parent | 4527715979a34601b783f5f12774586c679c2a89 (diff) |
USB: move transceiver from ehci_hcd and ohci_hcd to hcd and rename it as phy
- to decrease redundant since both ehci_hcd and ohci_hcd have the same variable
- it helps access phy in usb core code
- phy is more meaningful than transceiver
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/hcd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 7f855d50cdf5..c532cbeabfbc 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h | |||
@@ -93,6 +93,12 @@ struct usb_hcd { | |||
93 | */ | 93 | */ |
94 | const struct hc_driver *driver; /* hw-specific hooks */ | 94 | const struct hc_driver *driver; /* hw-specific hooks */ |
95 | 95 | ||
96 | /* | ||
97 | * OTG and some Host controllers need software interaction with phys; | ||
98 | * other external phys should be software-transparent | ||
99 | */ | ||
100 | struct usb_phy *phy; | ||
101 | |||
96 | /* Flags that need to be manipulated atomically because they can | 102 | /* Flags that need to be manipulated atomically because they can |
97 | * change while the host controller is running. Always use | 103 | * change while the host controller is running. Always use |
98 | * set_bit() or clear_bit() to change their values. | 104 | * set_bit() or clear_bit() to change their values. |