summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-04-02 21:46:55 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-07 05:03:49 +0300
commitede3136e56557498ec3f2e6da58cb0920d8074e1 (patch)
treed5427a8f74671b7b52734b3cab5a61814e372e8b /include/linux
parentdf75bd552a8790e83d4aeb5f112050cf3dc687bf (diff)
downloadlinux-ede3136e56557498ec3f2e6da58cb0920d8074e1.tar.xz
dpaa2: avoid linking objects into multiple modules
Each object file contains information about which module it gets linked into, so linking the same file into multiple modules now causes a warning: scripts/Makefile.build:254: drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch scripts/Makefile.build:254: drivers/net/ethernet/freescale/dpaa2/Makefile: dpmac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch Change the way that dpaa2 is built by moving the two common files into a separate module with exported symbols instead. Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260402184726.3746487-3-arnd@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions