Commit 1f46d85f authored by Arnd Bergmann's avatar Arnd Bergmann

staging: tegra-video: fix V4L2 dependency

Rather than using a dependency on VIDEO_V4L2, this driver uses
"select", which fails when other dependencies are missing:

WARNING: unmet direct dependencies detected for VIDEO_V4L2
  Depends on [n]: MEDIA_SUPPORT [=y] && (I2C [=y] || I2C [=y]=n) && VIDEO_DEV [=n]
  Selected by [y]:
  - VIDEO_TEGRA [=y] && STAGING [=y] && STAGING_MEDIA [=y] && MEDIA_SUPPORT [=y] && TEGRA_HOST1X [=y]
(plus an endless stream of link errors for other drivers that
depend on VIDEO_V4L2 but are now lacking their dependencies)

Link: https://lore.kernel.org/r/20200527221327.3339232-1-arnd@arndb.de
Fixes: 3d8a97ea ("media: tegra-video: Add Tegra210 Video input driver")
Reviewed-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent fb6c05b0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
config VIDEO_TEGRA config VIDEO_TEGRA
tristate "NVIDIA Tegra VI driver" tristate "NVIDIA Tegra VI driver"
depends on TEGRA_HOST1X depends on TEGRA_HOST1X
select VIDEO_V4L2 depends on VIDEO_V4L2
select MEDIA_CONTROLLER select MEDIA_CONTROLLER
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment