]> git.ipfire.org Git - thirdparty/linux.git/commit
dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n
authorCai Xinchen <caixinchen1@huawei.com>
Thu, 12 Mar 2026 06:59:07 +0000 (06:59 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Mar 2026 20:33:03 +0000 (13:33 -0700)
commit97daf00745f7f9f261b0e91418de6e79d7826c36
tree1a61c5e32fae9928ec2d77343dfe7617a71ad950
parent12589892f41c4c645c80ef9f036f7451a6045624
dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n

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: f48298d3fbfaa ("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>
drivers/net/ethernet/freescale/Makefile