summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 09:11:22 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 09:21:04 +0000
commitd5b9ce926c0654c4d0d9f542d271c56a0efff959 (patch)
tree250cb7da8c9ecefdbb82cb06be62b614777098b6 /src/soc
parent05498a254d5364efb669f63aa4b042c91c123727 (diff)
soc/broadcom/cygnus: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Id41279a1cdc7c68d3dcc44e238863f2f4a452499 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26533 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/broadcom/cygnus/soc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/broadcom/cygnus/soc.c b/src/soc/broadcom/cygnus/soc.c
index bb9255cb75..090d122bd7 100644
--- a/src/soc/broadcom/cygnus/soc.c
+++ b/src/soc/broadcom/cygnus/soc.c
@@ -20,13 +20,13 @@
#include <stdlib.h>
#include <symbols.h>
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
{
ram_resource(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*(MiB/KiB));
usb_init();
}
-static void soc_noop(device_t dev)
+static void soc_noop(struct device *dev)
{
}
@@ -38,7 +38,7 @@ static struct device_operations soc_ops = {
.scan_bus = 0,
};
-static void enable_cygnus_dev(device_t dev)
+static void enable_cygnus_dev(struct device *dev)
{
dev->ops = &soc_ops;
}