[coreboot-gerrit] Change in coreboot[master]: soc/marvell/mvmap2315: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Fri May 25 10:11:53 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26539
Change subject: soc/marvell/mvmap2315: Get rid of device_t
......................................................................
soc/marvell/mvmap2315: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I6db25850d46ea3a940ea2a6f263303d4b5304cb3
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/soc/marvell/mvmap2315/soc.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/26539/1
diff --git a/src/soc/marvell/mvmap2315/soc.c b/src/soc/marvell/mvmap2315/soc.c
index d05eca6..6904e13 100644
--- a/src/soc/marvell/mvmap2315/soc.c
+++ b/src/soc/marvell/mvmap2315/soc.c
@@ -21,7 +21,7 @@
#include <soc/addressmap.h>
#include <symbols.h>
-static void soc_enable(device_t dev)
+static void soc_enable(struct device *dev)
{
ram_resource(dev, 0, 0x0, MAX_DRAM_ADDRESS / KiB);
}
@@ -30,7 +30,7 @@
.enable_resources = soc_enable,
};
-static void enable_mvmap2315_dev(device_t dev)
+static void enable_mvmap2315_dev(struct device *dev)
{
dev->ops = &soc_ops;
}
--
To view, visit https://review.coreboot.org/26539
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: I6db25850d46ea3a940ea2a6f263303d4b5304cb3
Gerrit-Change-Number: 26539
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/4994a468/attachment-0001.html>
More information about the coreboot-gerrit
mailing list