forked from Mirrors/opensbi
		
	platform: generic: Remove platform override hooks
Now that all of the overrides are modifying generic_platform_ops directly, remove the unused hooks and forwarding functions. The remaining members of struct platform_override match struct fdt_driver, so use that type instead. This allows a future commit to reuse the fdt_driver-based init function. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250325234342.711447-8-samuel.holland@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							b353af63e2
						
					
				
				
					commit
					b80ded7756
				
			@@ -229,7 +229,7 @@ static const struct fdt_match sun20i_d1_match[] = {
 | 
			
		||||
	{ },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const struct platform_override sun20i_d1 = {
 | 
			
		||||
const struct fdt_driver sun20i_d1 = {
 | 
			
		||||
	.match_table	= sun20i_d1_match,
 | 
			
		||||
	.init		= sun20i_d1_platform_init,
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user