]> git.baikalelectronics.ru Git - kernel.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)
commit0c3c3d34a396d768b7097e0621dfafecbdccf230
tree1f220f594d6fc5fd10c41bdc9384a50dddb8f613
parent9316c885a921a6d5ba167b8afcbb39b27e7c03b0
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: 49e393cc1d4 ("net: add Hisilicon Network Subsystem MDIO support")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/Kconfig