summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/ipq806x/soc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/qualcomm/ipq806x/soc.c')
-rw-r--r--src/soc/qualcomm/ipq806x/soc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/qualcomm/ipq806x/soc.c b/src/soc/qualcomm/ipq806x/soc.c
index e44964fccf..90773afb97 100644
--- a/src/soc/qualcomm/ipq806x/soc.c
+++ b/src/soc/qualcomm/ipq806x/soc.c
@@ -22,7 +22,7 @@
#define RESERVED_SIZE_KB (0x01500000 / KiB)
-static void soc_read_resources(device_t dev)
+static void soc_read_resources(struct device *dev)
{
/* Reserve bottom 0x150_0000 bytes for NSS, SMEM, etc. */
reserved_ram_resource(dev, 0, (uintptr_t)_dram / KiB, RESERVED_SIZE_KB);
@@ -30,7 +30,7 @@ static void soc_read_resources(device_t dev)
(CONFIG_DRAM_SIZE_MB * KiB) - RESERVED_SIZE_KB);
}
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
{
/*
* Do this in case console is not enabled: kernel's earlyprintk()
@@ -46,7 +46,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;
}