summaryrefslogtreecommitdiff
path: root/include/linux/usb/msm_hsusb.h
diff options
context:
space:
mode:
authorIvan T. Ivanov <iivanov@mm-sol.com>2014-04-28 17:34:06 +0400
committerFelipe Balbi <balbi@ti.com>2014-04-30 20:28:04 +0400
commit37cfdaf782590e277d9352626dba4496734e0375 (patch)
tree02efa8b6f2a7b42b48ad1816eeedc0208655d7db /include/linux/usb/msm_hsusb.h
parent0d092fdb8c7a1b874d5c1b56f14d97b62df13186 (diff)
downloadlinux-37cfdaf782590e277d9352626dba4496734e0375.tar.xz
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/msm_hsusb.h')
-rw-r--r--include/linux/usb/msm_hsusb.h3
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 {
enum usb_chg_state chg_state;
enum usb_chg_type chg_type;
u8 dcd_retries;
+ struct regulator *v3p3;
+ struct regulator *v1p8;
+ struct regulator *vddcx;
};
#endif