summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-09-03 23:35:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-27 01:25:20 +0200
commit7ba0127805abf27f0549f327699283e1dbed12f3 (patch)
tree5318a6cc33ea64179c8590bd9ba34b4b5bd3b4ed /drivers
parentusb: core: usb_amd_resume_quirk() can be static (diff)
downloadlinux-7ba0127805abf27f0549f327699283e1dbed12f3.tar.xz
linux-7ba0127805abf27f0549f327699283e1dbed12f3.zip
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>
Diffstat (limited to 'drivers')
-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