diff options
| author | Roland Stigge <stigge@antcom.de> | 2013-03-26 13:36:01 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-27 11:49:20 -0400 |
| commit | c8fa48d3722a9be89acf3486444e87583379c97c (patch) | |
| tree | dbf41ac768da2ea0b2c10ebee29528c6024fced3 | |
| parent | d78658d45eef74f18d78bc49801f90a0c50fbea0 (diff) | |
usb: Fix compile error by selecting USB_OTG_UTILS
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 1c2088812f095df77f4b3224b65db79d7111a300 (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: Roland Stigge <stigge@antcom.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/usb/gadget/Kconfig | 1 | ||||
| -rw-r--r-- | drivers/usb/phy/Kconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 5a0c541daf89..c7525b1cad74 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
| @@ -145,6 +145,7 @@ config USB_LPC32XX | |||
| 145 | tristate "LPC32XX USB Peripheral Controller" | 145 | tristate "LPC32XX USB Peripheral Controller" |
| 146 | depends on ARCH_LPC32XX | 146 | depends on ARCH_LPC32XX |
| 147 | select USB_ISP1301 | 147 | select USB_ISP1301 |
| 148 | select USB_OTG_UTILS | ||
| 148 | help | 149 | help |
| 149 | This option selects the USB device controller in the LPC32xx SoC. | 150 | This option selects the USB device controller in the LPC32xx SoC. |
| 150 | 151 | ||
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 65217a590068..90549382eba5 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig | |||
| @@ -38,6 +38,7 @@ config USB_ISP1301 | |||
| 38 | tristate "NXP ISP1301 USB transceiver support" | 38 | tristate "NXP ISP1301 USB transceiver support" |
| 39 | depends on USB || USB_GADGET | 39 | depends on USB || USB_GADGET |
| 40 | depends on I2C | 40 | depends on I2C |
| 41 | select USB_OTG_UTILS | ||
| 41 | help | 42 | help |
| 42 | Say Y here to add support for the NXP ISP1301 USB transceiver driver. | 43 | Say Y here to add support for the NXP ISP1301 USB transceiver driver. |
| 43 | This chip is typically used as USB transceiver for USB host, gadget | 44 | This chip is typically used as USB transceiver for USB host, gadget |
