summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>2012-06-26 11:56:48 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-26 16:14:33 -0700
commitc6156328dec52a55f90688cbfad21c83f8711d84 (patch)
tree715a1210cb06283728beaca9f322fea20b413cfe /drivers/usb/phy
parent8f8741ca5e55a35dafa35f4eac2b70b08fae997e (diff)
downloadblackbird-op-linux-c6156328dec52a55f90688cbfad21c83f8711d84.tar.gz
blackbird-op-linux-c6156328dec52a55f90688cbfad21c83f8711d84.zip
usb: phy: Fix Kconfig dependency for Phy drivers
USB phy layer driver are only built if usb host is selected, but they are used too by USB_GADGET drivers Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Acked-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 3cfabcba7447..e7cf84f0751a 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -2,11 +2,11 @@
# Physical Layer USB driver configuration
#
comment "USB Physical Layer drivers"
- depends on USB
+ depends on USB || USB_GADGET
config USB_ISP1301
tristate "NXP ISP1301 USB transceiver support"
- depends on USB
+ depends on USB || USB_GADGET
depends on I2C
help
Say Y here to add support for the NXP ISP1301 USB transceiver driver.
OpenPOWER on IntegriCloud