Skip to content
  • Arnd Bergmann's avatar
    USB: lpc32xx: ISP1301 needs USB_PHY · 64e98a79
    Arnd Bergmann authored
    
    
    The Kconfig entry for USB_LPC32XX unconditionally selects USB_ISP1301,
    which is now only visible when USB_PHY is also enabled.
    
    This adds an appropriate dependency and enables USB_PHY in the msm
    defconfig, avoiding these build errors:
    
    warning: (USB_LPC32XX) selects USB_ISP1301 which has unmet direct dependencies (USB_SUPPORT && USB_PHY && (USB || USB_GADGET) && I2C)
    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:3071: undefined reference to `isp1301_get_client'
    
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Felipe Balbi <balbi@ti.com>
    Cc: Roland Stigge <stigge@antcom.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    64e98a79