[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5910448.DIq02Mfy77@mexican>
Date: Tue, 16 Sep 2014 14:12:44 +1000
From: Alistair Popple <alistair@...ple.id.au>
To: Pranith Kumar <bobby.prani@...il.com>
Cc: Matt Porter <mporter@...nel.crashing.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
"open list:LINUX FOR POWERPC..." <linuxppc-dev@...ts.ozlabs.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] powerpc: Fix build failure when CONFIG_USB=y
Thanks for fixing these!
Acked-by: Alistair Popple <alistair@...ple.id.au>
On Thu, 21 Aug 2014 09:16:04 Pranith Kumar wrote:
> 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@...il.com>
> ---
> arch/powerpc/platforms/44x/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/platforms/44x/Kconfig
> b/arch/powerpc/platforms/44x/Kconfig index 3e7deb2..82f2da2 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists