summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2014-10-30 18:41:14 +0100
committerFelipe Balbi <balbi@ti.com>2014-11-03 10:01:25 -0600
commit19c1eac2685b62640ca2386a0a885ac2152668c8 (patch)
treee53fc8ad677eb36411e92823675b042e432bda4f /include/linux/usb
parente47d92545c2972bcf3711e7db80f481e402163c7 (diff)
downloadop-kernel-dev-19c1eac2685b62640ca2386a0a885ac2152668c8.zip
op-kernel-dev-19c1eac2685b62640ca2386a0a885ac2152668c8.tar.gz
usb: rename phy to usb_phy in OTG
This patch prepares the introduction of the generic PHY support in the USB OTG common functions. The USB PHY member of the OTG structure is renamed to 'usb_phy' and modifications are done in all drivers accessing it. Renaming this pointer will allow to keep the compatibility for USB PHY drivers. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/otg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index 33d3480..978fbbb 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -14,7 +14,7 @@
struct usb_otg {
u8 default_a;
- struct usb_phy *phy;
+ struct usb_phy *usb_phy;
struct usb_bus *host;
struct usb_gadget *gadget;
OpenPOWER on IntegriCloud