mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias
Use MODULE_DEVICE_TABLE with wkup_m3_rproc_of_match so the module alias is exported and the wkup_m3_rproc driver can automatically probe. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
This commit is contained in:
		
							parent
							
								
									a66a5114b3
								
							
						
					
					
						commit
						99c429cb4e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -122,6 +122,7 @@ static const struct of_device_id wkup_m3_rproc_of_match[] = {
 | 
				
			||||||
	{ .compatible = "ti,am4372-wkup-m3", },
 | 
						{ .compatible = "ti,am4372-wkup-m3", },
 | 
				
			||||||
	{},
 | 
						{},
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					MODULE_DEVICE_TABLE(of, wkup_m3_rproc_of_match);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int wkup_m3_rproc_probe(struct platform_device *pdev)
 | 
					static int wkup_m3_rproc_probe(struct platform_device *pdev)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue