summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-09-04 01:35:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-27 03:25:20 +0400
commit7ba0127805abf27f0549f327699283e1dbed12f3 (patch)
tree5318a6cc33ea64179c8590bd9ba34b4b5bd3b4ed
parent00d5f289b26a50e75c5e0ac13d842885fc4c6c8c (diff)
downloadlinux-7ba0127805abf27f0549f327699283e1dbed12f3.tar.xz
USB: phy: Restrict AM335x PHY driver to only be built on !ARM when COMPILE_TEST is set.
Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index d5589f9c60a9..51ffe11cf38a 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -93,6 +93,7 @@ config AM335X_CONTROL_USB
config AM335X_PHY_USB
tristate "AM335x USB PHY Driver"
+ depends on ARM || COMPILE_TEST
select USB_PHY
select AM335X_CONTROL_USB
select NOP_USB_XCEIV