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>
This commit is contained in:

committed by
Felipe Balbi

parent
e47d92545c
commit
19c1eac268
@@ -788,7 +788,7 @@ int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
otg->phy = ci->transceiver;
|
||||
otg->usb_phy = ci->transceiver;
|
||||
otg->gadget = &ci->gadget;
|
||||
ci->fsm.otg = otg;
|
||||
ci->transceiver->otg = ci->fsm.otg;
|
||||
|
Reference in New Issue
Block a user