diff options
Diffstat (limited to 'drivers/usb/chipidea/ci.h')
-rw-r--r-- | drivers/usb/chipidea/ci.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index ea40626e0246..5bbfcc73cf70 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h | |||
@@ -161,7 +161,8 @@ struct hw_bank { | |||
161 | * @test_mode: the selected test mode | 161 | * @test_mode: the selected test mode |
162 | * @platdata: platform specific information supplied by parent device | 162 | * @platdata: platform specific information supplied by parent device |
163 | * @vbus_active: is VBUS active | 163 | * @vbus_active: is VBUS active |
164 | * @transceiver: pointer to USB PHY, if any | 164 | * @phy: pointer to PHY, if any |
165 | * @usb_phy: pointer to USB PHY, if any and if using the USB PHY framework | ||
165 | * @hcd: pointer to usb_hcd for ehci host driver | 166 | * @hcd: pointer to usb_hcd for ehci host driver |
166 | * @debugfs: root dentry for this controller in debugfs | 167 | * @debugfs: root dentry for this controller in debugfs |
167 | * @id_event: indicates there is an id event, and handled at ci_otg_work | 168 | * @id_event: indicates there is an id event, and handled at ci_otg_work |
@@ -177,6 +178,7 @@ struct ci_hdrc { | |||
177 | struct ci_role_driver *roles[CI_ROLE_END]; | 178 | struct ci_role_driver *roles[CI_ROLE_END]; |
178 | enum ci_role role; | 179 | enum ci_role role; |
179 | bool is_otg; | 180 | bool is_otg; |
181 | struct usb_otg otg; | ||
180 | struct otg_fsm fsm; | 182 | struct otg_fsm fsm; |
181 | struct ci_otg_fsm_timer_list *fsm_timer; | 183 | struct ci_otg_fsm_timer_list *fsm_timer; |
182 | struct work_struct work; | 184 | struct work_struct work; |
@@ -201,7 +203,9 @@ struct ci_hdrc { | |||
201 | 203 | ||
202 | struct ci_hdrc_platform_data *platdata; | 204 | struct ci_hdrc_platform_data *platdata; |
203 | int vbus_active; | 205 | int vbus_active; |
204 | struct usb_phy *transceiver; | 206 | struct phy *phy; |
207 | /* old usb_phy interface */ | ||
208 | struct usb_phy *usb_phy; | ||
205 | struct usb_hcd *hcd; | 209 | struct usb_hcd *hcd; |
206 | struct dentry *debugfs; | 210 | struct dentry *debugfs; |
207 | bool id_event; | 211 | bool id_event; |