commit | b3025e6ada454848b6ae2d3bcd925738384517df | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Apr 30 11:33:04 2014 -0500 |
committer | Felipe Balbi <balbi@ti.com> | Mon May 12 12:34:23 2014 -0500 |
tree | 6e00921d496ef7b0532ab2d2de2f027c3c16cd49 | |
parent | e695abb3c8b1b758843a1db2a73c98b3d14c173a [diff] |
usb: phy: msm: cast to enum msm_usb_phy_type this solves the following build warning found when running compile tests. drivers/usb/phy/phy-msm-usb.c: In function ‘msm_otg_read_dt’: drivers/usb/phy/phy-msm-usb.c:1459:20: warning: cast from pointer \ to integer of different size [-Wpointer-to-int-cast] pdata->phy_type = (int) id->data; ^ Signed-off-by: Felipe Balbi <balbi@ti.com>