[coreboot-gerrit] Change in coreboot[master]: soc/marvell/mvmap2315: Get rid of device_t

Patrick Georgi (Code Review) gerrit at coreboot.org
Mon Jun 4 11:18:11 CEST 2018


Patrick Georgi has submitted this change and it was merged. ( 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>
Reviewed-on: https://review.coreboot.org/26539
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
---
M src/soc/marvell/mvmap2315/soc.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  build bot (Jenkins): Verified
  Patrick Georgi: Looks good to me, approved



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: merged
Gerrit-Change-Id: I6db25850d46ea3a940ea2a6f263303d4b5304cb3
Gerrit-Change-Number: 26539
Gerrit-PatchSet: 2
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180604/d4120299/attachment.html>


More information about the coreboot-gerrit mailing list