From: Florian Fainelli Date: Mon, 15 Dec 2014 17:57:15 +0000 (-0800) Subject: net: dsa: bcm_sf2: always select FIXED_PHY X-Git-Tag: v4.14-rc1~6249^2~20^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f9f26475c915afcf6d9a1971a1f1f57cd61aa61;p=platform%2Fkernel%2Flinux-rpi.git net: dsa: bcm_sf2: always select FIXED_PHY There is no need to do the following: select FIXED_PHY if NET_DSA_BCM_SF2=y, as this implies that we will not be able to build and/or run the driver correctly when built as a module, which is no longer an issue since commit 37e9a6904520 ("net: phy: export fixed_phy_register()"). Fixes: 246d7f773c13ca ("net: dsa: add Broadcom SF2 switch driver") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig index 7cf8f4a..48e62a3 100644 --- a/drivers/net/dsa/Kconfig +++ b/drivers/net/dsa/Kconfig @@ -59,7 +59,7 @@ config NET_DSA_BCM_SF2 depends on HAS_IOMEM select NET_DSA select NET_DSA_TAG_BRCM - select FIXED_PHY if NET_DSA_BCM_SF2=y + select FIXED_PHY select BCM7XXX_PHY select MDIO_BCM_UNIMAC ---help---