When STA2X11_VIP is enabled, and GPIOLIB is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for VIDEO_ADV7180 Depends on [n]: MEDIA_SUPPORT [=y] && GPIOLIB [=n] && VIDEO_V4L2 [=y] && I2C [=y] Selected by [y]: - STA2X11_VIP [=y] && MEDIA_SUPPORT [=y] && MEDIA_PCI_SUPPORT [=y] && MEDIA_CAMERA_SUPPORT [=y] && PCI [=y] && VIDEO_V4L2 [=y] && VIRT_TO_BUS [=y] && I2C [=y] && (STA2X11 [=n] || COMPILE_TEST [=y]) && MEDIA_SUBDRV_AUTOSELECT [=y] This is because STA2X11_VIP selects VIDEO_ADV7180 without selecting or depending on GPIOLIB, despite VIDEO_ADV7180 depending on GPIOLIB. Signed-off-by: Julian Braha <julianbraha@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
17 lines
541 B
Plaintext
17 lines
541 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config STA2X11_VIP
|
|
tristate "STA2X11 VIP Video For Linux"
|
|
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS && I2C
|
|
depends on STA2X11 || COMPILE_TEST
|
|
select GPIOLIB if MEDIA_SUBDRV_AUTOSELECT
|
|
select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
help
|
|
Say Y for support for STA2X11 VIP (Video Input Port) capture
|
|
device.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called sta2x11_vip.
|