• F
    usb: phy: msm: cast to enum msm_usb_phy_type · b3025e6a
    Felipe Balbi 提交于
    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: NFelipe Balbi <balbi@ti.com>
    b3025e6a
phy-msm-usb.c 44.4 KB