]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: HNS: fix MDIO dependencies
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Oct 2015 12:53:54 +0000 (14:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2015 12:41:15 +0000 (05:41 -0700)
commit0fa28877b26641cca56b607ccec1fcbda7ae09c6
tree1f220f594d6fc5fd10c41bdc9384a50dddb8f613
parentc577e59ed7f55be398a2a730447a7f37d72eaa57
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>
drivers/net/ethernet/hisilicon/Kconfig