From: Felipe Balbi Date: Wed, 30 Apr 2014 16:33:04 +0000 (-0500) Subject: usb: phy: msm: cast to enum msm_usb_phy_type X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~171^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3025e6ada454848b6ae2d3bcd925738384517df;p=pandora-kernel.git 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 --- Reading git-diff-tree failed