Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2395415pxp; Fri, 18 Mar 2022 09:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCAdHqKJegTRTEmPuYmlJx9k6sedBEMkwonBgujgDRfjOp3DOVhLvDxFV+1/Ne2nCsWi/R X-Received: by 2002:a17:906:3cea:b0:6da:ea45:ea9e with SMTP id d10-20020a1709063cea00b006daea45ea9emr9466851ejh.574.1647621497775; Fri, 18 Mar 2022 09:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647621497; cv=none; d=google.com; s=arc-20160816; b=wVl7VOwHGmbDEgbJ7op6TIEC4I9vmBqI0qOb5+B/yzPIi728CW7b7YgBlwFOVm3EpK 6PGwWIxrkuPiJCaT8V02tWgW7jk97OgUiflXrXtIcSL6fcVe6l9evcXDPsV0Wnzynplc 2+HlyaTUzgzjvcaIHLhiPYNQ7mnnxanwXSketUz44psfhwFAn3bSa6KT4O5SJ0OghSTm pHhatFaVt56LnL16fjgiRO1bt4ET6Y6JV5jmfSSoELhmtXP6PyuFFLXPE5v4z0aB926a gQ74TGID8F/0SfCjyG8PYLdKB3LpVUT0p8t1Md8VdS4Nr88ZdjTUYNVdcKWpsWECTJWN nZ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=gocIdUc3Dvzkh3KhVTsF2XY7TB/9XUgk721U3xz4W7s=; b=DJAmsO5wnnR1cO0sfmg+ZrVZjDlYfZuROgheQyqjKyOYd8RcBgUC6FqaFa2B1btH/a L+WAU2rXsB0d21eyHO4u5ZDSp7b7MONnw4bbh6iXTaJGwfCEuWg8+ZhPVJK8UY3zMDr7 tQgN+qSnXr5vBiRGTtp59Ts8g3vyYvbot6Kp5vZDdB1CsXt9etGYsUWcWLVcJ7KPJZYM PVGBnOqw6FU1/LQK+wwbqqeoiYnbX6/wZtECufUIJLX7BXcgGJX2+lW7O+DxKXR6k+ha dWhVuixE++RfvhYI2rY5SqZ8N6OWriQwjWzPpJv+CxlOpm9aMgENiSxvLZ+cNgKH87R6 wopw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a50aa94000000b00418c2b5bda8si4190629edc.138.2022.03.18.09.37.52; Fri, 18 Mar 2022 09:38:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233622AbiCRIZI (ORCPT + 99 others); Fri, 18 Mar 2022 04:25:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233545AbiCRIZH (ORCPT ); Fri, 18 Mar 2022 04:25:07 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF0CF88780; Fri, 18 Mar 2022 01:23:48 -0700 (PDT) Received: (Authenticated sender: jacopo@jmondi.org) by mail.gandi.net (Postfix) with ESMTPSA id 8ED1C100009; Fri, 18 Mar 2022 08:23:44 +0000 (UTC) Date: Fri, 18 Mar 2022 09:23:43 +0100 From: Jacopo Mondi To: Wang Hai Cc: mchehab@kernel.org, laurent.pinchart@ideasonboard.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] media: platform: Fix build error Message-ID: <20220318082343.46m5xmnqmjw6q4s2@uno.localdomain> References: <20220318071028.1356775-1-wanghai38@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220318071028.1356775-1-wanghai38@huawei.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Wang Hai On Fri, Mar 18, 2022 at 03:10:28PM +0800, Wang Hai wrote: > If VIDEO_IMX_MIPI_CSIS is y but VIDEO_DEV is n, building failed: > > drivers/media/platform/nxp/imx-mipi-csis.o: in function `mipi_csis_remove': > imx-mipi-csis.c:(.text+0x1f0): undefined reference to `v4l2_async_nf_unregister' > ld: imx-mipi-csis.c:(.text+0x1f8): undefined reference to `v4l2_async_nf_cleanup' > ld: imx-mipi-csis.c:(.text+0x200): undefined reference to `v4l2_async_unregister_subdev' > > Set VIDEO_IMX_MIPI_CSIS to depend on VIDEO_DEV to fix it > > Fixes: 4a598f62a03b ("media: platform/*/Kconfig: make manufacturer menus more uniform") > Reported-by: Hulk Robot > Signed-off-by: Wang Hai Thanks, my understanding is that is fixed in Mauro's VIDEO_DEV rework. [PATCH v2 00/67] media: Kconfig/Makefile reorg > --- > drivers/media/platform/nxp/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig > index 838abc9766b4..704fcf55697b 100644 > --- a/drivers/media/platform/nxp/Kconfig > +++ b/drivers/media/platform/nxp/Kconfig > @@ -6,6 +6,7 @@ comment "NXP drivers" > > config VIDEO_IMX_MIPI_CSIS > tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" > + depends on VIDEO_DEV > select MEDIA_CONTROLLER > select V4L2_FWNODE > select VIDEO_V4L2_SUBDEV_API > -- > 2.25.1 >