• Arnd Bergmann's avatar
    ARM: orion5x: make dns323 independent of PHY support · 32ff4971
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Gregory Clement <gregory.clement@free-electrons.com>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    32ff4971
dns323-setup.c 18.1 KB