“fd43fe19b830d6cd0eba08a6c6a5f71a6bd9c1b0”上不存在“...xtensa/git@gitcode.net:openharmony/kernel_linux.git”
提交 92f792ec 编写于 作者: P Pranith Kumar 提交者: Michael Ellerman

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: NPranith Kumar <bobby.prani@gmail.com>
Acked-by: NAlistair Popple <alistair@popple.id.au>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 a9303e1b
...@@ -215,7 +215,7 @@ config AKEBONO ...@@ -215,7 +215,7 @@ config AKEBONO
select NET_VENDOR_IBM select NET_VENDOR_IBM
select IBM_EMAC_EMAC4 select IBM_EMAC_EMAC4
select IBM_EMAC_RGMII_WOL select IBM_EMAC_RGMII_WOL
select USB select USB if USB_SUPPORT
select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
select MMC_SDHCI select MMC_SDHCI
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册