summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 10:11:24 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 09:18:05 +0000
commitf9ae70652141e27d9e39c3fab26c14b0d1fd9212 (patch)
tree3060e778dc70e52ef68091ed40d9c6eeac59905d /src
parentb44266996b096dee03ee5b758b9b6dbbd89bbf0d (diff)
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@noos.fr> Reviewed-on: https://review.coreboot.org/26539 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/marvell/mvmap2315/soc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/marvell/mvmap2315/soc.c b/src/soc/marvell/mvmap2315/soc.c
index d05eca6cd0..6904e13fe3 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 @@ static struct device_operations soc_ops = {
.enable_resources = soc_enable,
};
-static void enable_mvmap2315_dev(device_t dev)
+static void enable_mvmap2315_dev(struct device *dev)
{
dev->ops = &soc_ops;
}