diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-12-11 15:56:10 +0300 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-12-14 23:51:00 +0300 |
commit | ed56dd8f60cf3d56ca1416288b09eec27bdd5413 (patch) | |
tree | 5814db1c8e8ad36cdc9284aab79943d961cf058d /lib/errname.c | |
parent | 99e9fe2248f9bd86dd10e773c90c9b54055b1d92 (diff) | |
download | linux-ed56dd8f60cf3d56ca1416288b09eec27bdd5413.tar.xz |
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 'lib/errname.c')
0 files changed, 0 insertions, 0 deletions