mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	irqchip/mtk-cirq: Convert to a platform driver
This driver can work as a platform driver. So covert it to a platform driver. Signed-off-by: Saravana Kannan <saravanak@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Hanks Chen <hanks.chen@mediatek.com> Link: https://lore.kernel.org/r/20200718000637.3632841-5-saravanak@google.com
This commit is contained in:
		
							parent
							
								
									f97dbf48ca
								
							
						
					
					
						commit
						920ecb8c35
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -295,4 +295,6 @@ static int __init mtk_cirq_of_init(struct device_node *node,
 | 
			
		|||
	return ret;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
IRQCHIP_DECLARE(mtk_cirq, "mediatek,mtk-cirq", mtk_cirq_of_init);
 | 
			
		||||
IRQCHIP_PLATFORM_DRIVER_BEGIN(mtk_cirq)
 | 
			
		||||
IRQCHIP_MATCH("mediatek,mtk-cirq", mtk_cirq_of_init)
 | 
			
		||||
IRQCHIP_PLATFORM_DRIVER_END(mtk_cirq)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue