diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-01-08 13:48:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-08 16:05:54 -0800 |
commit | 112463ddbe82f8d1f98bfb7f943e1ed3c08bc56a (patch) | |
tree | 3d55f78de04e027ede2456fbd2702e5b5dbc7a7c /drivers/net/wan/hdlc_raw.c | |
parent | 09e6533536c9f0e8b1dd8f4658a9274f83f95da4 (diff) |
net: dsa: felix: fix link error
When the enetc driver is disabled, the mdio support fails to
get built:
drivers/net/dsa/ocelot/felix_vsc9959.o: In function `vsc9959_mdio_bus_alloc':
felix_vsc9959.c:(.text+0x19c): undefined reference to `enetc_hw_alloc'
felix_vsc9959.c:(.text+0x1d1): undefined reference to `enetc_mdio_read'
felix_vsc9959.c:(.text+0x1d8): undefined reference to `enetc_mdio_write'
Change the Makefile to enter the subdirectory for this as well.
Fixes: bdeced75b13f ("net: dsa: felix: Add PCS operations for PHYLINK")
Fixes: 6517798dd343 ("enetc: Make MDIO accessors more generic and export to include/linux/fsl")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hdlc_raw.c')
0 files changed, 0 insertions, 0 deletions