diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-04-13 06:18:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-13 16:48:06 -0400 |
commit | 2e0cbf2cc2c9371f0aa198857d799175ffe231a6 (patch) | |
tree | 0879c49694e29b8577075d27a35e34cbc4275b32 /net | |
parent | fb745e9a037895321781d066aa24757ceabf9df9 (diff) | |
download | linux-3.10-2e0cbf2cc2c9371f0aa198857d799175ffe231a6.tar.gz linux-3.10-2e0cbf2cc2c9371f0aa198857d799175ffe231a6.tar.bz2 linux-3.10-2e0cbf2cc2c9371f0aa198857d799175ffe231a6.zip |
net: mvmdio: add select PHYLIB
The mvmdio driver uses the phylib API, so it should select the PHYLIB
symbol, otherwise, a build with mvmdio (but without mvneta) fails to
build with undefined symbols such as mdiobus_unregister, mdiobus_free,
etc.
The mvneta driver does not use the phylib API directly, so it does not
need to select PHYLIB. It already selects the mvmdio driver anyway.
Historically, this problem is due to the fact that the PHY handling
was originally part of mvneta, and was later moved to a separate
driver, without updating the Kconfig select statements
accordingly. And since there was no functional reason to use mvmdio
without mvneta, this case was not tested.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions