Remove dependencies on HAS_DMA where a Kconfig symbol depends on another
symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST".
In most cases this other symbol is an architecture or platform specific
symbol, or PCI.
Generic symbols and drivers without platform dependencies keep their
dependencies on HAS_DMA, to prevent compiling subsystems or drivers that
cannot work anyway.
This simplifies the dependencies, and allows to improve compile-testing.
Note:
- The various VIDEOBUF*DMA* symbols had to loose their dependencies on
HAS_DMA, as they are selected by several individual drivers.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
15 lines
446 B
Plaintext
15 lines
446 B
Plaintext
config STA2X11_VIP
|
|
tristate "STA2X11 VIP Video For Linux"
|
|
depends on STA2X11 || COMPILE_TEST
|
|
select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS
|
|
depends on VIDEO_V4L2_SUBDEV_API
|
|
depends on I2C
|
|
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.
|