From nobody Fri Nov 29 04:54:11 2024 Received: from weierstrass.telenet-ops.be (weierstrass.telenet-ops.be [195.130.137.81]) (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 86A751714B7 for ; Tue, 24 Sep 2024 09:26:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727169985; cv=none; b=q7TBg3o63iA0pEpITmqBsTwrGekP6CaZyfNCTEo35nN74bkBqsSTOJgezkE5ba3qKsixX623hSmvinnJzg15V0t7AT++JAXSOWlgUki8UdcO3xidU3lMJFnKDn9la51gblaqQLYuUC55hj/IrmJFb7UtY3FoE1DqgS8+uAHxbuU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727169985; c=relaxed/simple; bh=Rpiia7W171dhBiA2KDt3R+l32OjCdJgEQC5KzQ/YRWc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=M09t89b3E1kbRnQYkWHMlI/gaAY1gE2b/NqvL1zMDPT86Xt7DsUgGNDd0w+YdZZxMItXcApKmsjOw6cMV65XAl1fM/8CKZvUT5wAaEpRbayxOEk//AMGkJyO343A8u9NvRaiHBTNSa3dwvP0RzTQsQZ7W/Svrf5qef7uPU5aOD4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by weierstrass.telenet-ops.be (Postfix) with ESMTPS id 4XCZ893kPNz4x9fm for ; Tue, 24 Sep 2024 11:20:09 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by laurent.telenet-ops.be with cmsmtp id G9Kw2D00J1C8whw019Kw7X; Tue, 24 Sep 2024 11:20:02 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1st1dq-000ShT-KK; Tue, 24 Sep 2024 11:15:34 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1st1du-0003Zv-Gj; Tue, 24 Sep 2024 11:15:34 +0200 From: Geert Uytterhoeven To: Marc Kleine-Budde , kernel@pengutronix.de, Vincent Mailhol Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiko Stuebner , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] can: CAN_ROCKCHIP_CANFD should depend on ARCH_ROCKCHIP Date: Tue, 24 Sep 2024 11:15:31 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Rockchip CAN-FD controller is only present on Rockchip SoCs. Hence add a dependency on ARCH_ROCKCHIP, to prevent asking the user about this driver when configuring a kernel without Rockchip platform support. Fixes: ff60bfbaf67f219c ("can: rockchip_canfd: add driver for Rockchip CAN-= FD controller") Signed-off-by: Geert Uytterhoeven --- drivers/net/can/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/can/rockchip/Kconfig b/drivers/net/can/rockchip/Kc= onfig index e029e2a3ca4b04df..fd8d9f5eeaa434ac 100644 --- a/drivers/net/can/rockchip/Kconfig +++ b/drivers/net/can/rockchip/Kconfig @@ -3,6 +3,7 @@ config CAN_ROCKCHIP_CANFD tristate "Rockchip CAN-FD controller" depends on OF || COMPILE_TEST + depends on ARCH_ROCKCHIP || COMPILE_TEST select CAN_RX_OFFLOAD help Say Y here if you want to use CAN-FD controller found on --=20 2.34.1