Skip to content

Commit 3849f0e

Browse files
Caixinchen1gregkh
authored andcommitted
dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n
[ Upstream commit 97daf00 ] CONFIG_FSL_DPAA2_ETH and CONFIG_FSL_DPAA2_SWITCH are not associated, but the compilation of FSL_DPAA2_SWITCH depends on the compilation of the dpaa2 folder. The files controlled by CONFIG_FSL_DPAA2_SWITCH in the dpaa2 folder are not controlled by CONFIG_FSL_DPAA2_ETH, except for the files controlled by CONFIG_FSL_DPAA2_SWITCH. Therefore, removing the restriction will not affect the compilation of the files in the directory. Fixes: f48298d ("staging: dpaa2-switch: move the driver out of staging") Suggested-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Cai Xinchen <caixinchen1@huawei.com> Link: https://patch.msgid.link/20260312065907.476663-3-caixinchen1@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent eebe930 commit 3849f0e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/net/ethernet/freescale/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
2222
obj-$(CONFIG_FSL_FMAN) += fman/
2323
obj-$(CONFIG_FSL_DPAA_ETH) += dpaa/
2424

25-
obj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
26-
25+
obj-y += dpaa2/
2726
obj-y += enetc/

0 commit comments

Comments
 (0)