summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 10:01:13 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-28 16:07:31 +0000
commitd6cd2553210d303eb8593400dfc87f7f71d7d995 (patch)
tree4296657d5a723032926c303519dbd3586743fd31 /src/soc/qualcomm/sdm845
parent3fcb2185658a17169fd7df007c236ce084aad74f (diff)
downloadcoreboot-d6cd2553210d303eb8593400dfc87f7f71d7d995.tar.xz
soc/qualcomm: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ib7bcfefaecc053a1ed28d708a614acb81207bccf Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26536 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc/qualcomm/sdm845')
-rw-r--r--src/soc/qualcomm/sdm845/soc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/qualcomm/sdm845/soc.c b/src/soc/qualcomm/sdm845/soc.c
index 16f3655e6b..56e2c8456a 100644
--- a/src/soc/qualcomm/sdm845/soc.c
+++ b/src/soc/qualcomm/sdm845/soc.c
@@ -19,14 +19,14 @@
#include <soc/mmu.h>
#include <soc/symbols.h>
-static void soc_read_resources(device_t dev)
+static void soc_read_resources(struct device *dev)
{
ram_resource(dev, 0, (uintptr_t)_dram / KiB, DRAMSIZE4GB / KiB);
reserved_ram_resource(dev, 1, (uintptr_t)_dram_reserved / KiB,
_dram_reserved_size / KiB);
}
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
{
}
@@ -36,7 +36,7 @@ static struct device_operations soc_ops = {
.init = soc_init,
};
-static void enable_soc_dev(device_t dev)
+static void enable_soc_dev(struct device *dev)
{
dev->ops = &soc_ops;
}