From: Arnd Bergmann Date: Thu, 13 Mar 2014 14:31:44 +0000 (+0100) Subject: ARM: orion5x: make dns323 independent of PHY support X-Git-Tag: v3.15-rc1~81^2~8^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ff4971eca29a90719c88f949d14bf71ce8b655;p=pandora-kernel.git ARM: orion5x: make dns323 independent of PHY support 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 Acked-by: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth --- Reading git-diff-tree failed