diff options
author | Ivan T. Ivanov <iivanov@mm-sol.com> | 2014-04-28 09:34:06 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-30 12:28:04 -0400 |
commit | 37cfdaf782590e277d9352626dba4496734e0375 (patch) | |
tree | 02efa8b6f2a7b42b48ad1816eeedc0208655d7db /include/linux/usb | |
parent | 0d092fdb8c7a1b874d5c1b56f14d97b62df13186 (diff) |
usb: phy: msm: Move global regulators variables to driver state
Eliminating global variables allows driver to handle multiple
device instances.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/msm_hsusb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/msm_hsusb.h b/include/linux/usb/msm_hsusb.h index 32754835a39b..8705b0164684 100644 --- a/include/linux/usb/msm_hsusb.h +++ b/include/linux/usb/msm_hsusb.h | |||
@@ -183,6 +183,9 @@ struct msm_otg { | |||
183 | enum usb_chg_state chg_state; | 183 | enum usb_chg_state chg_state; |
184 | enum usb_chg_type chg_type; | 184 | enum usb_chg_type chg_type; |
185 | u8 dcd_retries; | 185 | u8 dcd_retries; |
186 | struct regulator *v3p3; | ||
187 | struct regulator *v1p8; | ||
188 | struct regulator *vddcx; | ||
186 | }; | 189 | }; |
187 | 190 | ||
188 | #endif | 191 | #endif |