From f9ae70652141e27d9e39c3fab26c14b0d1fd9212 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 25 May 2018 10:11:24 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/26539 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/soc/marvell/mvmap2315/soc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/marvell') 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 #include -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; } -- cgit v1.2.3