diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-10-09 15:53:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-12 15:41:15 +0300 |
commit | 0fa28877b26641cca56b607ccec1fcbda7ae09c6 (patch) | |
tree | 1f220f594d6fc5fd10c41bdc9384a50dddb8f613 /drivers/net/ethernet/hisilicon/Kconfig | |
parent | c577e59ed7f55be398a2a730447a7f37d72eaa57 (diff) | |
download | linux-0fa28877b26641cca56b607ccec1fcbda7ae09c6.tar.xz |
net: HNS: fix MDIO dependencies
The newly introduced HNS_MDIO Kconfig symbol selects 'MDIO', but
that is the wrong symbol as the code used by this driver is
provided by PHYLIB rather than the MDIO driver. Also, there is
no need to make this driver user selectable, because it is already
selected by all drivers that need it.
This changes the Kconfig file to select the correct library, and
to make the option silent.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 5b904d39406 ("net: add Hisilicon Network Subsystem MDIO support")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/Kconfig')
-rw-r--r-- | drivers/net/ethernet/hisilicon/Kconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig index 165b5a8aa2ea..8d12b587809e 100644 --- a/drivers/net/ethernet/hisilicon/Kconfig +++ b/drivers/net/ethernet/hisilicon/Kconfig @@ -24,7 +24,6 @@ config HIX5HD2_GMAC config HIP04_ETH tristate "HISILICON P04 Ethernet support" - select PHYLIB select MARVELL_PHY select MFD_SYSCON select HNS_MDIO @@ -33,8 +32,8 @@ config HIP04_ETH want to use the internal ethernet then you should answer Y to this. config HNS_MDIO - tristate "Hisilicon HNS MDIO device Support" - select MDIO + tristate + select PHYLIB ---help--- This selects the HNS MDIO support. It is needed by HNS_DSAF to access the PHY |