• Roland Stigge's avatar
    usb: Fix compile error by selecting USB_OTG_UTILS · c8fa48d3
    Roland Stigge authored
    The current lpc32xx_defconfig breaks like this, caused by recent phy
    restructuring:
    
      LD      init/built-in.o
    drivers/built-in.o: In function `usb_hcd_nxp_probe':
    drivers/usb/host/ohci-nxp.c:224: undefined reference to `isp1301_get_client'
    drivers/built-in.o: In function `lpc32xx_udc_probe':
    drivers/usb/gadget/lpc32xx_udc.c:3104: undefined reference to
    `isp1301_get_client' distcc[27867] ERROR: compile (null) on localhost failed
    make: *** [vmlinux] Error 1
    
    Caused by 1c208881 (usb: Makefile: fix
    drivers/usb/phy/ Makefile entry)
    
    This patch fixes this by selecting USB_OTG_UTILS in Kconfig which
    causes the phy driver to be built again.
    Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
    Acked-by: default avatarFelipe Balbi <balbi@ti.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    c8fa48d3
Kconfig 33.8 KB