[coreboot-gerrit] Change in coreboot[master]: mb/intel/glkrvp: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Wed May 16 11:43:48 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26313


Change subject: mb/intel/glkrvp: Get rid of device_t
......................................................................

mb/intel/glkrvp: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I791a69aeca9b44daabc9a3e5fb9ac92e6b22f3e5
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/intel/glkrvp/mainboard.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/26313/1

diff --git a/src/mainboard/intel/glkrvp/mainboard.c b/src/mainboard/intel/glkrvp/mainboard.c
index ac5e973..ddb805a 100644
--- a/src/mainboard/intel/glkrvp/mainboard.c
+++ b/src/mainboard/intel/glkrvp/mainboard.c
@@ -42,7 +42,7 @@
 }
 
 static unsigned long mainboard_write_acpi_tables(
-	device_t device, unsigned long current, acpi_rsdp_t *rsdp)
+	struct device *device, unsigned long current, acpi_rsdp_t *rsdp)
 {
 	uintptr_t start_addr;
 	uintptr_t end_addr;
@@ -65,7 +65,7 @@
 	return end_addr;
 }
 
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
 {
 	dev->ops->write_acpi_tables = mainboard_write_acpi_tables;
 	dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;

-- 
To view, visit https://review.coreboot.org/26313
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I791a69aeca9b44daabc9a3e5fb9ac92e6b22f3e5
Gerrit-Change-Number: 26313
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180516/c477a882/attachment-0001.html>


More information about the coreboot-gerrit mailing list