[coreboot-gerrit] Change in coreboot[master]: mediatek/mt8173: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Fri May 25 10:10:26 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26538
Change subject: mediatek/mt8173: Get rid of device_t
......................................................................
mediatek/mt8173: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Ifadb894f98ce60cf0778de7fbcec67d125e48fd6
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/soc/mediatek/mt8173/soc.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/26538/1
diff --git a/src/soc/mediatek/mt8173/soc.c b/src/soc/mediatek/mt8173/soc.c
index 686f973..c28eb05 100644
--- a/src/soc/mediatek/mt8173/soc.c
+++ b/src/soc/mediatek/mt8173/soc.c
@@ -19,12 +19,12 @@
#include <symbols.h>
#include <soc/emi.h>
-static void soc_read_resources(device_t dev)
+static void soc_read_resources(struct device *dev)
{
ram_resource(dev, 0, (uintptr_t)_dram / KiB, sdram_size() / KiB);
}
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
{
}
@@ -33,7 +33,7 @@
.init = soc_init,
};
-static void enable_soc_dev(device_t dev)
+static void enable_soc_dev(struct device *dev)
{
dev->ops = &soc_ops;
}
--
To view, visit https://review.coreboot.org/26538
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: Ifadb894f98ce60cf0778de7fbcec67d125e48fd6
Gerrit-Change-Number: 26538
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/20180525/9bc896f9/attachment.html>
More information about the coreboot-gerrit
mailing list