[coreboot-gerrit] Change in ...coreboot[master]: mb/google/dragonegg: Don't use device_t

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Dec 3 14:01:32 CET 2018


Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/29915 )

Change subject: mb/google/dragonegg: Don't use device_t
......................................................................

mb/google/dragonegg: Don't use device_t

Use of device_t is deprecated.

Change-Id: Ief858f6612d1c7b4b0c286cf5938f8c29055f1b5
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
Reviewed-on: https://review.coreboot.org/c/29915
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
Reviewed-by: Angel Pons <th3fanbus at gmail.com>
Reviewed-by: Patrick Rudolph <siro at das-labor.org>
---
M src/mainboard/google/dragonegg/mainboard.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  build bot (Jenkins): Verified
  Patrick Georgi: Looks good to me, approved
  Patrick Rudolph: Looks good to me, approved
  Angel Pons: Looks good to me, but someone else must approve



diff --git a/src/mainboard/google/dragonegg/mainboard.c b/src/mainboard/google/dragonegg/mainboard.c
index 3e8fd9f..c4df94b 100644
--- a/src/mainboard/google/dragonegg/mainboard.c
+++ b/src/mainboard/google/dragonegg/mainboard.c
@@ -26,7 +26,7 @@
 	mainboard_ec_init();
 }
 
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
 {
 	dev->ops->write_acpi_tables = NULL;
 	dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief858f6612d1c7b4b0c286cf5938f8c29055f1b5
Gerrit-Change-Number: 29915
Gerrit-PatchSet: 2
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
Gerrit-Reviewer: Angel Pons <th3fanbus at gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Patrick Rudolph <siro at das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181203/280b348f/attachment.html>


More information about the coreboot-gerrit mailing list