]> 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)
commitb8aa01a77ba03aea1aaaff036f6f128dcc80d7e1
tree1f220f594d6fc5fd10c41bdc9384a50dddb8f613
parentedf02da324044c1b6425c4c0a59badd36628f0ee
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: f62852b44f1 ("net: add Hisilicon Network Subsystem MDIO support")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/Kconfig