mb/roda: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I0830e5519256122e3fe9f142c4c8e1e5e85f9a8c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26113 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
		
				
					committed by
					
						 Martin Roth
						Martin Roth
					
				
			
			
				
	
			
			
			
						parent
						
							f65f297eff
						
					
				
				
					commit
					c4c2d4ec7a
				
			| @@ -46,14 +46,14 @@ static void dump_runtime_registers(void) | |||||||
| } | } | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| static void mainboard_final(device_t dev) | static void mainboard_final(struct device *dev) | ||||||
| { | { | ||||||
| 	/* Enable Dummy DCC ON# for DVI */ | 	/* Enable Dummy DCC ON# for DVI */ | ||||||
| 	printk(BIOS_DEBUG, "Laptop handling...\n"); | 	printk(BIOS_DEBUG, "Laptop handling...\n"); | ||||||
| 	outb(inb(0x60f) & ~(1 << 5), 0x60f); | 	outb(inb(0x60f) & ~(1 << 5), 0x60f); | ||||||
| } | } | ||||||
|  |  | ||||||
| static void mainboard_enable(device_t dev) | static void mainboard_enable(struct device *dev) | ||||||
| { | { | ||||||
| 	/* Configure the MultiKey controller */ | 	/* Configure the MultiKey controller */ | ||||||
|  |  | ||||||
|   | |||||||
| @@ -36,7 +36,7 @@ static void ec_setup(void) | |||||||
| 	send_ec_command(0xad); /* Set_Thml_Value */ | 	send_ec_command(0xad); /* Set_Thml_Value */ | ||||||
| } | } | ||||||
|  |  | ||||||
| static void mainboard_enable(device_t dev) | static void mainboard_enable(struct device *dev) | ||||||
| { | { | ||||||
| 	ec_setup(); | 	ec_setup(); | ||||||
| 	/* LCD panel type is SIO GPIO40-43. | 	/* LCD panel type is SIO GPIO40-43. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user