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>
This commit is contained in:
Elyes HAOUAS 2018-05-25 10:11:24 +02:00 committed by Patrick Georgi
parent b44266996b
commit f9ae706521
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}