diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-09 15:08:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-09 11:35:03 -0500 |
commit | 4bed5395a521b475c2164510596d9af366a3d6dc (patch) | |
tree | 2dce812c69328960fc6f83f3d172d20d3ee7ac00 /drivers/rtc | |
parent | cfb76d77c009b38e607c8a2adc8bdd57b5081768 (diff) | |
download | linux-4bed5395a521b475c2164510596d9af366a3d6dc.tar.bz2 |
mvneta: add FIXED_PHY dependency
The fixed_phy infrastructure is done in a way that is optional,
by providing 'static inline' helper functions doing nothing in
include/linux/phy_fixed.h for all its APIs. However, three out
of the four users (DSA, BCMGENET, and SYSTEMPORT) always
'select FIXED_PHY', presumably because they need that.
MVNETA is the fourth one, and if that is built-in but FIXED_PHY
is configured as a loadable module, we get a link error:
drivers/built-in.o: In function `mvneta_fixed_link_update':
fpga-mgr.c:(.text+0x33ed80): undefined reference to `fixed_phy_update_state'
Presumably this driver has the same dependency as the others,
so this patch also uses 'select' to ensure that the fixed-phy
support is built-in.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 898b2970e2c9 ("mvneta: implement SGMII-based in-band link state signaling")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions