summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra210/soc.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 10:03:57 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-28 16:07:27 +0000
commit3fcb2185658a17169fd7df007c236ce084aad74f (patch)
tree7b23d401656807a3dd617474a858c5d45b3b877a /src/soc/nvidia/tegra210/soc.c
parent90f515a14b531ba6740419acedb3eb65d6efa13f (diff)
soc/nvidia: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I065ed3a0deab2f59e510717f5d52beb2a62e900d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26537 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc/nvidia/tegra210/soc.c')
-rw-r--r--src/soc/nvidia/tegra210/soc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/nvidia/tegra210/soc.c b/src/soc/nvidia/tegra210/soc.c
index 1071d68b60..a8f111bdf9 100644
--- a/src/soc/nvidia/tegra210/soc.c
+++ b/src/soc/nvidia/tegra210/soc.c
@@ -35,7 +35,7 @@
#include "chip.h"
-static void soc_read_resources(device_t dev)
+static void soc_read_resources(struct device *dev)
{
unsigned long index = 0;
int i; uintptr_t begin, end;
@@ -65,7 +65,7 @@ static struct device_operations soc_ops = {
.scan_bus = NULL,
};
-static void enable_tegra210_dev(device_t dev)
+static void enable_tegra210_dev(struct device *dev)
{
if (dev->path.type == DEVICE_PATH_CPU_CLUSTER)
dev->ops = &soc_ops;