[coreboot-gerrit] Change in coreboot[master]: sb/amd/amd8151: Get rid of device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Sat May 19 14:59:08 CEST 2018


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


Change subject: sb/amd/amd8151: Get rid of device_t
......................................................................

sb/amd/amd8151: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: Id8a5043015806d8a433a948fc1889ee867ca3aeb
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/southbridge/amd/amd8151/agp3.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/26412/1

diff --git a/src/southbridge/amd/amd8151/agp3.c b/src/southbridge/amd/amd8151/agp3.c
index 18dd6d5..0cddc20 100644
--- a/src/southbridge/amd/amd8151/agp3.c
+++ b/src/southbridge/amd/amd8151/agp3.c
@@ -20,7 +20,7 @@
 #include <device/pci_ids.h>
 #include <device/pci_ops.h>
 
-static void agp3bridge_init(device_t dev)
+static void agp3bridge_init(struct device *dev)
 {
 	uint8_t byte;
 
@@ -46,7 +46,7 @@
 	.device = 0x7455, // AGP Bridge
 };
 
-static void agp3dev_enable(device_t dev)
+static void agp3dev_enable(struct device *dev)
 {
 	uint32_t value;
 

-- 
To view, visit https://review.coreboot.org/26412
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: Id8a5043015806d8a433a948fc1889ee867ca3aeb
Gerrit-Change-Number: 26412
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/20180519/7d8b0af6/attachment.html>


More information about the coreboot-gerrit mailing list