summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/chip.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-22 10:52:05 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 09:56:59 +0000
commit777ccd43961c002baebd52d986f5e49b0d7bc7f8 (patch)
tree3042c3cb2c4c5663b2e6c5fe5b10c9915abe4844 /src/soc/amd/stoneyridge/chip.c
parent532001ae73529d23878021129484c5bc3f24fed5 (diff)
downloadcoreboot-777ccd43961c002baebd52d986f5e49b0d7bc7f8.tar.xz
soc/amd/stoneyridge/: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I84fbc90b2a81fe5476d659716f0d6e4f0d7e1de2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26458 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/chip.c')
-rw-r--r--src/soc/amd/stoneyridge/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c
index 46dcfa80dd..3b73a054b8 100644
--- a/src/soc/amd/stoneyridge/chip.c
+++ b/src/soc/amd/stoneyridge/chip.c
@@ -107,7 +107,7 @@ struct device_operations pci_domain_ops = {
.acpi_name = soc_acpi_name,
};
-static void enable_dev(device_t dev)
+static void enable_dev(struct device *dev)
{
/* Set the operations if it is a special bus type */
if (dev->path.type == DEVICE_PATH_DOMAIN)