Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92f792ec authored by Pranith Kumar's avatar Pranith Kumar Committed by Michael Ellerman
Browse files

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: default avatarPranith Kumar <bobby.prani@gmail.com>
Acked-by: default avatarAlistair Popple <alistair@popple.id.au>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent a9303e1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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