]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Fix build failure when CONFIG_USB=y
authorPranith Kumar <bobby.prani@gmail.com>
Thu, 21 Aug 2014 13:16:04 +0000 (09:16 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:54 +0000 (23:14 +1000)
commit92f792ece9c41befde64d8799fd3dde5d57407ab
tree84cbc2e057045f73147b0f5556bf0c2c0b764d1c
parenta9303e1bd05751649e5408e521aab19380c7fd8a
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>
arch/powerpc/platforms/44x/Kconfig