From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout11.his.huawei.com (canpmsgout11.his.huawei.com [113.46.200.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D78236C9E3; Thu, 12 Mar 2026 07:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.226 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773299644; cv=none; b=jfw9avdryjxJDj3LYvfF1IcCnSXJfmxPPwObz5bTY3k84rRK50paLMK4RL46Zx1lBgAThnPJNS+AHL5lJzKEC9Ta8tv982IYWUCuHWat7f1xye3AMcxE78q+1GA2qb2mjmVnIEfeG8FGHvmRY7BJd6yXJ0T6iZ2IJVaEIr0p40o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773299644; c=relaxed/simple; bh=bL85DciU1+JCk6Arm+f6sGDTfQT0oLlhH9PIsvhFCr8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iLLzlkG67W7bq0hg8m2gex17lW4lMdeflu8kqBu3nUXWfiFJEN2qnOTcvuf5esIxkbhAGSgrQkB44Jk9K1366zrA1pMd5s4NpEbTYtS5NNNiDt918dTPgYR/CsujoYPJlYKJto9MorFLvkO8x+kKrVlx4ds9l2s8H0pYfrbPQm4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=VHI8XV/j; arc=none smtp.client-ip=113.46.200.226 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="VHI8XV/j" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=nBvMacVMJ3eoqb13J8JgKyxYOCUAcGevHK68ZuR+0/M=; b=VHI8XV/jwCLbFPauTuaO+7vLrclUQVMoxo+k+2kEfYF2kuEvxMXB17/MW/ZGTNppAQLw0SEGd MURQR2eBqzsAZYNlW7nyyHPYqspsos5JOcEgMZkjD9H+RgGEHjsml2E6sTESbQ6fhwHAOifPRZC Vpy7AnbT76Vhh9lCCSuSul0= Received: from mail.maildlp.com (unknown [172.19.163.200]) by canpmsgout11.his.huawei.com (SkyGuard) with ESMTPS id 4fWdyR1tdMzKm6q; Thu, 12 Mar 2026 15:09:03 +0800 (CST) Received: from dggemv712-chm.china.huawei.com (unknown [10.1.198.32]) by mail.maildlp.com (Postfix) with ESMTPS id C1F004055B; Thu, 12 Mar 2026 15:13:59 +0800 (CST) Received: from kwepemq200017.china.huawei.com (7.202.195.228) by dggemv712-chm.china.huawei.com (10.1.198.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 12 Mar 2026 15:13:59 +0800 Received: from hulk-vt.huawei.com (10.67.174.72) by kwepemq200017.china.huawei.com (7.202.195.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 12 Mar 2026 15:13:59 +0800 From: Cai Xinchen To: , , , , , CC: , , Subject: [PATCH v3 -next 2/2] dpaa2: compile dpaa2 even CONFIG_FSL_DPAA2_ETH=n Date: Thu, 12 Mar 2026 06:59:07 +0000 Message-ID: <20260312065907.476663-3-caixinchen1@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260312065907.476663-1-caixinchen1@huawei.com> References: <20260312065907.476663-1-caixinchen1@huawei.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: kwepems100001.china.huawei.com (7.221.188.238) To kwepemq200017.china.huawei.com (7.202.195.228) 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 Signed-off-by: Cai Xinchen --- drivers/net/ethernet/freescale/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/Makefile b/drivers/net/ethernet/freescale/Makefile index de7b31842233..d0a259e47960 100644 --- a/drivers/net/ethernet/freescale/Makefile +++ b/drivers/net/ethernet/freescale/Makefile @@ -22,6 +22,5 @@ ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o obj-$(CONFIG_FSL_FMAN) += fman/ obj-$(CONFIG_FSL_DPAA_ETH) += dpaa/ -obj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/ - +obj-y += dpaa2/ obj-y += enetc/ -- 2.34.1