Skip to content

Commit

Permalink
net: cpsw: make TI_CPSW_PHY_SEL invisible
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and David S. Miller committed Jul 17, 2016
1 parent 1efb597 commit 8d8836d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ethernet/ti/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ config TI_DAVINCI_CPDMA
will be called davinci_cpdma. This is recommended.

config TI_CPSW_PHY_SEL
bool "TI CPSW Switch Phy sel Support"
depends on TI_CPSW
bool
---help---
This driver supports configuring of the phy mode connected to
the CPSW.
Expand Down

0 comments on commit 8d8836d

Please sign in to comment.