From: Wang Hai <wanghai38@huawei.com>
To: <mchehab@kernel.org>, <laurent.pinchart@ideasonboard.com>,
<jacopo@jmondi.org>
Cc: <linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<wanghai38@huawei.com>
Subject: [PATCH -next] media: platform: Fix build error
Date: Fri, 18 Mar 2022 15:10:28 +0800 [thread overview]
Message-ID: <20220318071028.1356775-1-wanghai38@huawei.com> (raw)
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 <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
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
next reply other threads:[~2022-03-18 6:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-18 7:10 Wang Hai [this message]
2022-03-18 8:23 ` Jacopo Mondi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220318071028.1356775-1-wanghai38@huawei.com \
--to=wanghai38@huawei.com \
--cc=jacopo@jmondi.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®