From nobody Wed Dec 17 09:21:32 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F3CEC4167B for ; Tue, 28 Nov 2023 18:32:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346165AbjK1ScB (ORCPT ); Tue, 28 Nov 2023 13:32:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234873AbjK1Sbx (ORCPT ); Tue, 28 Nov 2023 13:31:53 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8239810EC for ; Tue, 28 Nov 2023 10:31:57 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:f4d4:eef9:4487:4eb1]) by xavier.telenet-ops.be with bizsmtp id FuXv2B0022jytoH01uXvqK; Tue, 28 Nov 2023 19:31:55 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1r82ry-00AHX4-TQ; Tue, 28 Nov 2023 19:31:55 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1r82sE-00B9qv-Td; Tue, 28 Nov 2023 19:31:54 +0100 From: Geert Uytterhoeven To: Jack Zhu , Changhuang Liang , Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , Bryan O'Donoghue Cc: linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] staging: media: VIDEO_STARFIVE_CAMSS should depend on ARCH_STARFIVE Date: Tue, 28 Nov 2023 19:31:53 +0100 Message-Id: <81476f48f7774fdd62e95458b160688952bb0068.1701196160.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The StarFive Camera Subsystem is only present on the StarFive JH7110 SoC. Hence add a dependency on ARCH_STARFIVE, to prevent asking the user about this driver when configuring a kernel without StarFive SoC support. Fixes: bba185d141b12787 ("media: staging: media: starfive: camss: Add core = driver") Signed-off-by: Geert Uytterhoeven Reviewed-by: Changhuang Liang --- drivers/staging/media/starfive/camss/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/starfive/camss/Kconfig b/drivers/staging= /media/starfive/camss/Kconfig index bd184f42c98fa853..9ea5708fe40955e2 100644 --- a/drivers/staging/media/starfive/camss/Kconfig +++ b/drivers/staging/media/starfive/camss/Kconfig @@ -5,6 +5,7 @@ config VIDEO_STARFIVE_CAMSS depends on VIDEO_DEV && OF depends on HAS_DMA depends on PM + depends on ARCH_STARFIVE || COMPILE_TEST select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select VIDEOBUF2_DMA_CONTIG --=20 2.34.1