forked from mirrors/linux
		
	iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
The stub function for !CONFIG_IOMMU_IOVA needs to be
'static inline'.
Fixes: effa467870 ('iommu/vt-d: Don't queue_iova() if there is no flush queue')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
			
			
This commit is contained in:
		
							parent
							
								
									7f6cade5b6
								
							
						
					
					
						commit
						201c1db90c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -236,7 +236,7 @@ static inline void init_iova_domain(struct iova_domain *iovad, | |||
| { | ||||
| } | ||||
| 
 | ||||
| bool has_iova_flush_queue(struct iova_domain *iovad) | ||||
| static inline bool has_iova_flush_queue(struct iova_domain *iovad) | ||||
| { | ||||
| 	return false; | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Joerg Roedel
						Joerg Roedel