mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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>
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			634 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			634 B
		
	
	
	
		
			Text
		
	
	
	
	
	
config VIDEO_ATMEL_ISC
 | 
						|
	tristate "ATMEL Image Sensor Controller (ISC) support"
 | 
						|
	depends on VIDEO_V4L2 && COMMON_CLK && VIDEO_V4L2_SUBDEV_API
 | 
						|
	depends on ARCH_AT91 || COMPILE_TEST
 | 
						|
	select VIDEOBUF2_DMA_CONTIG
 | 
						|
	select REGMAP_MMIO
 | 
						|
	select V4L2_FWNODE
 | 
						|
	help
 | 
						|
	   This module makes the ATMEL Image Sensor Controller available
 | 
						|
	   as a v4l2 device.
 | 
						|
 | 
						|
config VIDEO_ATMEL_ISI
 | 
						|
	tristate "ATMEL Image Sensor Interface (ISI) support"
 | 
						|
	depends on VIDEO_V4L2 && OF
 | 
						|
	depends on ARCH_AT91 || COMPILE_TEST
 | 
						|
	select VIDEOBUF2_DMA_CONTIG
 | 
						|
	select V4L2_FWNODE
 | 
						|
	---help---
 | 
						|
	  This module makes the ATMEL Image Sensor Interface available
 | 
						|
	  as a v4l2 device.
 |