[coreboot-gerrit] Change in coreboot[master]: mb/tyan/s2912_fam10: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Fri Jun 8 18:32:33 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26983
Change subject: mb/tyan/s2912_fam10: Get rid of device_t
......................................................................
mb/tyan/s2912_fam10: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I07e00afbbd2c19cf3ea6e08f228eb39e45f1ad0c
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/tyan/s2912_fam10/mptable.c
M src/mainboard/via/epia-m850/mainboard.c
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/26983/1
diff --git a/src/mainboard/tyan/s2912_fam10/mptable.c b/src/mainboard/tyan/s2912_fam10/mptable.c
index 87d06b8..a56e23e 100644
--- a/src/mainboard/tyan/s2912_fam10/mptable.c
+++ b/src/mainboard/tyan/s2912_fam10/mptable.c
@@ -44,7 +44,7 @@
/*I/O APICs: APIC ID Version State Address*/
{
- device_t dev;
+ struct device *dev;
struct resource *res;
uint32_t dword;
diff --git a/src/mainboard/via/epia-m850/mainboard.c b/src/mainboard/via/epia-m850/mainboard.c
index 68c49bc..4cfee2e 100644
--- a/src/mainboard/via/epia-m850/mainboard.c
+++ b/src/mainboard/via/epia-m850/mainboard.c
@@ -92,7 +92,7 @@
}
#endif
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
(void)dev;
--
To view, visit https://review.coreboot.org/26983
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: I07e00afbbd2c19cf3ea6e08f228eb39e45f1ad0c
Gerrit-Change-Number: 26983
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/20180608/2a047ac8/attachment.html>
More information about the coreboot-gerrit
mailing list