• Arnd Bergmann's avatar
    usb: phy: mv-usb: fix usb_phy build errors · 90bdf403
    Arnd Bergmann authored
    The driver was recently adapted to a core API change, but the
    change was incomplete, missing out the suspend helper and
    leaving an extraneous local variable around:
    
    usb/phy/phy-mv-usb.c: In function 'mv_otg_update_state':
    usb/phy/phy-mv-usb.c:341:18: warning: unused variable 'phy' [-Wunused-variable]
    
    usb/phy/phy-mv-usb.c: In function 'mv_otg_suspend':
    usb/phy/phy-mv-usb.c:861:16: error: 'struct usb_phy' has no member named 'state'
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Fixes: e47d9254 ("usb: move the OTG state from the USB PHY to the OTG structure")
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    90bdf403
phy-mv-usb.c 20.9 KB