diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-12-11 13:56:10 +0100 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-12-14 12:51:00 -0800 |
commit | ed56dd8f60cf3d56ca1416288b09eec27bdd5413 (patch) | |
tree | 5814db1c8e8ad36cdc9284aab79943d961cf058d /tools | |
parent | net: ethernet: ti: select PAGE_POOL for switchdev driver (diff) | |
download | linux-dev-ed56dd8f60cf3d56ca1416288b09eec27bdd5413.tar.xz linux-dev-ed56dd8f60cf3d56ca1416288b09eec27bdd5413.zip |
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 <arnd@arndb.de>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions