summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x/Kconfig
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-08-21 09:16:04 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 23:14:54 +1000
commit92f792ece9c41befde64d8799fd3dde5d57407ab (patch)
tree84cbc2e057045f73147b0f5556bf0c2c0b764d1c /arch/powerpc/platforms/44x/Kconfig
parenta9303e1bd05751649e5408e521aab19380c7fd8a (diff)
downloadblackbird-op-linux-92f792ece9c41befde64d8799fd3dde5d57407ab.tar.gz
blackbird-op-linux-92f792ece9c41befde64d8799fd3dde5d57407ab.zip
powerpc: Fix build failure when CONFIG_USB=y
We are enabling USB unconditionally which results in following build failure drivers/built-in.o: In function `tb_drom_read': (.text+0x1b62b70): undefined reference to `usb_speed_string' make: *** [vmlinux] Error Enable USB only if USB_SUPPORT is set to avoid such failures Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Acked-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/44x/Kconfig')
-rw-r--r--arch/powerpc/platforms/44x/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig
index 3e7deb2aaf5a..82f2da28cd27 100644
--- a/arch/powerpc/platforms/44x/Kconfig
+++ b/arch/powerpc/platforms/44x/Kconfig
@@ -215,7 +215,7 @@ config AKEBONO
select NET_VENDOR_IBM
select IBM_EMAC_EMAC4
select IBM_EMAC_RGMII_WOL
- select USB
+ select USB if USB_SUPPORT
select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
select MMC_SDHCI
OpenPOWER on IntegriCloud