diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-05-09 14:04:52 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-09 15:47:21 -0700 |
commit | 99352c79af3e5f2e4724abf37fa5a2a3299b1c81 (patch) | |
tree | f59b35e7687ec7965575fcff2ab1f9b91d9cf480 /drivers/net/dsa/dsa_loop.c | |
parent | 57644431a6c2faac5d754ebd35780cf43a531b1a (diff) |
net: freescale: select CONFIG_FIXED_PHY where needed
I ran into a randconfig build failure with CONFIG_FIXED_PHY=m
and CONFIG_GIANFAR=y:
x86_64-linux-ld: drivers/net/ethernet/freescale/gianfar.o:(.rodata+0x418): undefined reference to `fixed_phy_change_carrier'
It seems the same thing can happen with dpaa and ucc_geth, so change
all three to do an explicit 'select FIXED_PHY'.
The fixed-phy driver actually has an alternative stub function that
theoretically allows building network drivers when fixed-phy is
disabled, but I don't see how that would help here, as the drivers
presumably would not work then.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions