mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	uio: UIO_PRUSS should depend on HAS_DMA
If NO_DMA=y:
    ERROR: "dma_alloc_coherent" [drivers/uio/uio_pruss.ko] undefined!
    ERROR: "dma_free_coherent" [drivers/uio/uio_pruss.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
			
			
This commit is contained in:
		
							parent
							
								
									d12f569c9b
								
							
						
					
					
						commit
						686079c9b7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -127,7 +127,7 @@ config UIO_FSL_ELBC_GPCM_NETX5152 | |||
| config UIO_PRUSS | ||||
| 	tristate "Texas Instruments PRUSS driver" | ||||
| 	select GENERIC_ALLOCATOR | ||||
| 	depends on HAS_IOMEM | ||||
| 	depends on HAS_IOMEM && HAS_DMA | ||||
| 	help | ||||
| 	  PRUSS driver for OMAPL138/DA850/AM18XX devices | ||||
| 	  PRUSS driver requires user space components, examples and user space | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Geert Uytterhoeven
						Geert Uytterhoeven