Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: cpsw: make TI_CPSW_PHY_SEL invisible

TI_CPSW_PHY_SEL depended on TI_CPSW and was selected by the latter. So
there is no reason to have this symbol visible.

A further optimisation would be to put the code for both symbols into a
single module which would allow to not export at least cpsw_phy_sel()
and simplify the module load process.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Uwe Kleine-König and committed by
David S. Miller
8d8836d4 1efb597d

+1 -2
+1 -2
drivers/net/ethernet/ti/Kconfig
··· 48 48 will be called davinci_cpdma. This is recommended. 49 49 50 50 config TI_CPSW_PHY_SEL 51 - bool "TI CPSW Switch Phy sel Support" 52 - depends on TI_CPSW 51 + bool 53 52 ---help--- 54 53 This driver supports configuring of the phy mode connected to 55 54 the CPSW.