From e7f4beca19d538c47208b8a1b984cf0e39ff02b4 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 25 May 2018 12:16:45 +0200 Subject: soc/imgtec/pistachio: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: Ia36b4ef7d66c50a044bc51f452ac8b7c7ff14323 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26540 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/soc/imgtec/pistachio/soc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc') diff --git a/src/soc/imgtec/pistachio/soc.c b/src/soc/imgtec/pistachio/soc.c index 948a906624..156d1dea47 100644 --- a/src/soc/imgtec/pistachio/soc.c +++ b/src/soc/imgtec/pistachio/soc.c @@ -17,13 +17,13 @@ #include #include -static void soc_read_resources(device_t dev) +static void soc_read_resources(struct device *dev) { ram_resource(dev, 0, (uintptr_t)_dram / KiB, (CONFIG_DRAM_SIZE_MB * MiB) / KiB); } -static void soc_init(device_t dev) +static void soc_init(struct device *dev) { printk(BIOS_INFO, "CPU: Imgtec Pistachio\n"); } @@ -33,7 +33,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; } -- cgit v1.2.3