diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-25 10:09:55 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-04 09:17:52 +0000 |
commit | b44266996b096dee03ee5b758b9b6dbbd89bbf0d (patch) | |
tree | 095c83274165b708d6f5e2eba759b149ad214105 /src/soc/mediatek | |
parent | 01115334169676a21aa1ecc85421ac169c6618be (diff) | |
download | coreboot-b44266996b096dee03ee5b758b9b6dbbd89bbf0d.tar.xz |
soc/mediatek/mt8173: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Ifadb894f98ce60cf0778de7fbcec67d125e48fd6
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26538
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r-- | src/soc/mediatek/mt8173/soc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/mediatek/mt8173/soc.c b/src/soc/mediatek/mt8173/soc.c index 686f9738b1..c28eb056ea 100644 --- a/src/soc/mediatek/mt8173/soc.c +++ b/src/soc/mediatek/mt8173/soc.c @@ -19,12 +19,12 @@ #include <symbols.h> #include <soc/emi.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, sdram_size() / KiB); } -static void soc_init(device_t dev) +static void soc_init(struct device *dev) { } @@ -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; } |