[coreboot-gerrit] Change in coreboot[master]: soc/broadcom/cygnus: Get rid of device_t

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Jun 4 11:21:10 CEST 2018


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

Change subject: soc/broadcom/cygnus: Get rid of device_t
......................................................................

soc/broadcom/cygnus: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: Id41279a1cdc7c68d3dcc44e238863f2f4a452499
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
Reviewed-on: https://review.coreboot.org/26533
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
---
M src/soc/broadcom/cygnus/soc.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Patrick Georgi: Looks good to me, approved



diff --git a/src/soc/broadcom/cygnus/soc.c b/src/soc/broadcom/cygnus/soc.c
index bb9255c..090d122 100644
--- a/src/soc/broadcom/cygnus/soc.c
+++ b/src/soc/broadcom/cygnus/soc.c
@@ -20,13 +20,13 @@
 #include <stdlib.h>
 #include <symbols.h>
 
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
 {
 	ram_resource(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*(MiB/KiB));
 	usb_init();
 }
 
-static void soc_noop(device_t dev)
+static void soc_noop(struct device *dev)
 {
 }
 
@@ -38,7 +38,7 @@
 	.scan_bus         = 0,
 };
 
-static void enable_cygnus_dev(device_t dev)
+static void enable_cygnus_dev(struct device *dev)
 {
 	dev->ops = &soc_ops;
 }

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id41279a1cdc7c68d3dcc44e238863f2f4a452499
Gerrit-Change-Number: 26533
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180604/020cd139/attachment.html>


More information about the coreboot-gerrit mailing list