mb/a785e-i: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I15f160c1e30496461f7100e3bd3a2e2467c64c4a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26071 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							99f0a51de3
						
					
				
				
					commit
					a07b542fad
				
			| @@ -61,7 +61,7 @@ static u32 get_bus_conf_done = 0; | ||||
| void get_bus_conf(void) | ||||
| { | ||||
| 	u32 apicid_base; | ||||
| 	device_t dev; | ||||
| 	struct device *dev; | ||||
| 	int i; | ||||
|  | ||||
| 	if (get_bus_conf_done == 1) | ||||
|   | ||||
| @@ -64,7 +64,7 @@ u8 is_dev3_present(void) | ||||
| * enable the dedicated function in A785E-I board. | ||||
| * This function called early than rs780_enable. | ||||
| *************************************************/ | ||||
| static void mainboard_enable(device_t dev) | ||||
| static void mainboard_enable(struct device *dev) | ||||
| { | ||||
| 	printk(BIOS_INFO, "Mainboard A785E-I Enable. dev=0x%p\n", dev); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user