Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2953569rdb; Tue, 13 Feb 2024 02:17:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHzTJCc56mI7k0wl0sdBq+9tbE+IsJUbniiDCHFemQObyvcdHbaz24xktlLUHnxfWlqqmz X-Received: by 2002:a05:6512:3d19:b0:511:45e4:8577 with SMTP id d25-20020a0565123d1900b0051145e48577mr6660771lfv.54.1707819464389; Tue, 13 Feb 2024 02:17:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707819464; cv=pass; d=google.com; s=arc-20160816; b=vEGtlpSM8pYkZ8xwnH9lers2DBEf2DQn+9ibiTwBBQxoq+onOPMwOKLlfbEw4hAag0 o4TL/cKUVS6hW+mgVJjeTuHoJH1xk3u0ZR8pt3in+HrZrLkCfX8SLPb05+WnVseQi4xN tmDmS/CWcvk+JiNhZZyYWpk5OO86IzwD13Ld5FhkxXyoNjkHPLwehiSrbD/Aq/i74SI2 5cRN12jtYyfYbvqe1chIUsPB/vBUtdjiD++VyTNXIRSP+J9aww+q3w3Fw9Cd1mQi5OTO ct1PR5s6lx7pWJmo6atUniCq/sgVblbai/TEgMVN0qBITPhVvUf3W3DMrwPAwHSiBoq4 7LTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4SaQzdSJAiwhCk81S+mTgLXlt+2NgntKw/LIQxlhRXM=; fh=+pZZT8PmKzxPSXKkGpSyiRHTx1kiDsdeI4eSlqotQxc=; b=W6OASZi129BrMfTnePa+d9MgNI8uMyfChJVTUdip1mRFU231PzdSBQCH63UU4qGoOb qHh4BCauxzzQe38eLO7rRVjJBfPFYXgNyRB/yHHFlyZ3kNaTJ8iJYQVEZB33pEzJhvh1 0F03ZOGjYoFuW4w96Dg7jFGfQeKGvQxQG/EA+1ZsI86haoDkinBYY6mxfF2E67lkljol cxexy7Tis8HiIAGqVLh1iAanCuCN4Hh6nz709ysifmSudazmFXbw/cDzHCgpBg65fHaw w41swNveE587yLwn9rmm1i/q+AQKfELJGYXmOzFJSq2UfJ7ZThuyv4BUayMH/5qjGUWH qc5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KuUCDrw5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63278-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXiWAz4DXMFzlpv9aUR16yXFslHNCBeCuCo+qX3jVAnJ/MuNmtLAH5/pOLpxeqHA5Vi+tN3Fk+ZgzuOogntMxZoG/tDYG3D9nN5ZjpCXA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n11-20020a170906b30b00b00a3cf04c5dafsi741134ejz.198.2024.02.13.02.17.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 02:17:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63278-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KuUCDrw5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63278-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63278-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ECB0C1F28D10 for ; Tue, 13 Feb 2024 09:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21193241E0; Tue, 13 Feb 2024 09:56:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KuUCDrw5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3EB8D224D2; Tue, 13 Feb 2024 09:55:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707818161; cv=none; b=qh4nAlF+iqNqz5ezn7uD8cbt0L1iFf4li0kL0ZHJ4B5xveQZ7VNlj+OE5bQMQWN8vD9tOieFhofHqGbWH7mecumok6lRcU2k0otJnslYKXs4ta4NQz8L9NnqXyePVziYB1vbbyNcmwpmjwksGNwqliU8H+lMgspso0NA+x9/Nbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707818161; c=relaxed/simple; bh=L//fSfhtwMkztN2frNmXVbSJ3+AwEgWGJ086titugr8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=eQBWR0SVmUQdBc2WLUUTSsFN06tEdpBa+SzJgvaN2k3iwlzqB9qHl1gFPU2N7Oieo8CcZRnJj3C3T57IWWnUFhy1afwzrYbyDGY9SNjFaYbMaLMsDbKvxtUgmFtITy6SuHFucHZ8TH3UnNYj7tz47e2F8PtngUxRkQMe12HY8hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KuUCDrw5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4699CC433C7; Tue, 13 Feb 2024 09:55:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707818159; bh=L//fSfhtwMkztN2frNmXVbSJ3+AwEgWGJ086titugr8=; h=From:To:Cc:Subject:Date:From; b=KuUCDrw5mlnhuvQruHhj6QQxVHa4rVUJpR7fAdfQsmYgn9aXJJLIHrgbjUUvritVt U7oWQz6PaEI4hvs8okzxdevmIvlbggQQVzNveYVpO4beI7IK4kEwPHjf/E1+rV/4lJ dhfWC4qp8qPxUv91mmr2AYCEycIp/q181RuDOOwFe0SRMeCoNLUCa7i156DS1/yb24 LlqUccoIDuz5EohPwdqRSVsedl5QULdJtd8dRTzBOsbqXI/bDZ4y33LLxDvMJi/orD gdpRfA449uZv0fiuuwa42QUSNzd58INuPAmY2nA/syLxZEOWza1mjaWDCjkWS/OOSi lmaDyzlGKxSTg== From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Arnd Bergmann , Sakari Ailus , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed Date: Tue, 13 Feb 2024 10:55:51 +0100 Message-Id: <20240213095555.454392-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann Drivers that call v4l2_async_nf_init() need to select the corresponding Kconfig symbol: ERROR: modpost: "v4l2_async_nf_init" [drivers/media/platform/marvell/cafe_ccic.ko] undefined! ERROR: modpost: "__v4l2_async_nf_add_i2c" [drivers/media/platform/marvell/cafe_ccic.ko] undefined! ERROR: modpost: "v4l2_async_nf_unregister" [drivers/media/platform/marvell/mcam-core.ko] undefined! ERROR: modpost: "v4l2_async_nf_init" [drivers/media/platform/marvell/mmp_camera.ko] undefined! ERROR: modpost: "__v4l2_async_nf_add_fwnode_remote" [drivers/media/platform/marvell/mmp_camera.ko] undefined! I checked all v4l2 drivers to see if anything else has the same bug, but these two appear to be the only ones. Signed-off-by: Arnd Bergmann --- drivers/media/platform/marvell/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/marvell/Kconfig b/drivers/media/platform/marvell/Kconfig index d6499ffe30e8..d31f4730f2a3 100644 --- a/drivers/media/platform/marvell/Kconfig +++ b/drivers/media/platform/marvell/Kconfig @@ -7,6 +7,7 @@ config VIDEO_CAFE_CCIC depends on V4L_PLATFORM_DRIVERS depends on PCI && I2C && VIDEO_DEV depends on COMMON_CLK + select V4L2_ASYNC select VIDEO_OV7670 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR select VIDEOBUF2_VMALLOC select VIDEOBUF2_DMA_CONTIG @@ -24,6 +25,7 @@ config VIDEO_MMP_CAMERA depends on COMMON_CLK select VIDEO_OV7670 if MEDIA_SUBDRV_AUTOSELECT && VIDEO_CAMERA_SENSOR select I2C_GPIO + select V4L2_ASYNC select VIDEOBUF2_VMALLOC select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_SG -- 2.39.2