From patchwork Thu Mar 31 12:31:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 555448 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 7DFB6C433F5 for ; Thu, 31 Mar 2022 12:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233075AbiCaMdr (ORCPT ); Thu, 31 Mar 2022 08:33:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235086AbiCaMdq (ORCPT ); Thu, 31 Mar 2022 08:33:46 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B809A211EC3 for ; Thu, 31 Mar 2022 05:31:58 -0700 (PDT) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 20B0E59D; Thu, 31 Mar 2022 14:31:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648729916; bh=jr2RrAS4n2ewqjM7Ivc/UcnDRA4hM9XgPbG7f31loqg=; h=From:To:Cc:Subject:Date:From; b=RVr2eyLZRPmH+ZhgYXRZkKEHXseMo1VFxXGNMyv/r19qjqBLp2TLmSa5CL61+3W6D x86xD+S24uXbebIWfwzSSDgbj4K1Ub21h6niDbHPxt3afMgkdJ33293wxEO5X650MB ip0YL0QValo5IMAfCo9wVFv6oA1FfW6OGdHBGOUo= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: Jacopo Mondi , Mauro Carvalho Chehab Subject: [PATCH] media: platform: imx-mipi-csis: Add dependency on VIDEO_DEV Date: Thu, 31 Mar 2022 15:31:51 +0300 Message-Id: <20220331123151.1953-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The imx-mipi-csis driver (VIDEO_IMX_MIPI_CSIS) lost its dependency on VIDEO_DEV in commit 63fe3d27b226 ("media: platform/*/Kconfig: make manufacturer menus more uniform"). This causes build failures with configurations that don't have VIDEO_DEV set. Fix it by restoring the dependency. Fixes: 63fe3d27b226 ("media: platform/*/Kconfig: make manufacturer menus more uniform") Reported-by: kernel test robot Signed-off-by: Laurent Pinchart Reviewed-by: Ezequiel Garcia --- Mauro, this fixes a regression in Linus' master branch, and is thus a candidate fix for v5.18. --- drivers/media/platform/nxp/Kconfig | 1 + 1 file changed, 1 insertion(+) base-commit: 787af64d05cd528aac9ad16752d11bb1c6061bb9 diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig index 28f2bafc14d2..5afa373e534f 100644 --- a/drivers/media/platform/nxp/Kconfig +++ b/drivers/media/platform/nxp/Kconfig @@ -7,6 +7,7 @@ comment "NXP media platform drivers" config VIDEO_IMX_MIPI_CSIS tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" depends on ARCH_MXC || COMPILE_TEST + depends on VIDEO_DEV select MEDIA_CONTROLLER select V4L2_FWNODE select VIDEO_V4L2_SUBDEV_API