[PATCH 27/62] ARM: orion5x: make dns323 independent of PHY support

Jason Cooper jason at lakedaemon.net
Wed Mar 19 15:39:00 EDT 2014


On Wed, Mar 19, 2014 at 08:29:24PM +0100, Arnd Bergmann wrote:
> The D-Link DNS-323 machine tries to unconditionally select CONFIG_PHYLIB,
> but that has other dependencies that might not necessarily be enabled,
> causing random build errors.
> 
> To work around this, this patch removes the 'select' statement and
> instead uses a compile-time check to skip the phy_register_fixup_for_uid()
> call if PHYLIB is not available in the kernel.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Jason Cooper <jason at lakedaemon.net>
> Cc: Andrew Lunn <andrew at lunn.ch>
> Cc: Gregory Clement <gregory.clement at free-electrons.com>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> ---
>  arch/arm/mach-orion5x/Kconfig        | 1 -
>  arch/arm/mach-orion5x/dns323-setup.c | 2 ++
>  2 files changed, 2 insertions(+), 1 deletion(-)

Acked-by: Jason Cooper <jason at lakedaemon.net>

thx,

Jason.



More information about the linux-arm-kernel mailing list