diff options
author | Arnd Bergmann <[email protected]> | 2019-12-11 13:56:10 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-12-14 12:51:00 -0800 |
commit | ed56dd8f60cf3d56ca1416288b09eec27bdd5413 (patch) | |
tree | 5814db1c8e8ad36cdc9284aab79943d961cf058d /lib/debugobjects.c | |
parent | 99e9fe2248f9bd86dd10e773c90c9b54055b1d92 (diff) |
net: ethernet: ti: build cpsw-common for switchdev
Without the common part of the driver, the new file fails to link:
drivers/net/ethernet/ti/cpsw_new.o: In function `cpsw_probe':
cpsw_new.c:(.text+0x312c): undefined reference to `ti_cm_get_macid'
Use the same Makefile hack as before, and build cpsw-common.o for
any driver that needs it.
Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions