[coreboot-gerrit] Change in coreboot[master]: samsung/lumpy: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Fri Jun 8 18:29:47 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26982
Change subject: samsung/lumpy: Get rid of device_t
......................................................................
samsung/lumpy: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Iaae136fc3ef05f415ee003077ad5859b8c3f165a
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/samsung/lumpy/mainboard.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/26982/1
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c
index 3de067e..0a00612 100644
--- a/src/mainboard/samsung/lumpy/mainboard.c
+++ b/src/mainboard/samsung/lumpy/mainboard.c
@@ -42,7 +42,7 @@
-static void mainboard_init(device_t dev)
+static void mainboard_init(struct device *dev)
{
/* Initialize the Embedded Controller */
lumpy_ec_init();
@@ -74,7 +74,7 @@
}
-static int lumpy_onboard_smbios_data(device_t dev, int *handle,
+static int lumpy_onboard_smbios_data(struct device *dev, int *handle,
unsigned long *current)
{
int len = 0;
@@ -95,7 +95,7 @@
// mainboard_enable is executed as first thing after
// enumerate_buses().
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
dev->ops->get_smbios_data = lumpy_onboard_smbios_data;
--
To view, visit https://review.coreboot.org/26982
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: Iaae136fc3ef05f415ee003077ad5859b8c3f165a
Gerrit-Change-Number: 26982
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/e499c6e8/attachment.html>
More information about the coreboot-gerrit
mailing list