summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/cannonlake/chip.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-27 16:57:24 +0200
committerMartin Roth <martinroth@google.com>2018-06-01 16:26:25 +0000
commit3c8b5d00c3e52d4149ff842f674ce0f68cd86509 (patch)
treecc5fa9484f53de0400aaff6214611d35bb7b54d7 /src/soc/intel/cannonlake/chip.c
parent040aff27458ff2e41052c14cf4a981641313a3f6 (diff)
downloadcoreboot-3c8b5d00c3e52d4149ff842f674ce0f68cd86509.tar.gz
coreboot-3c8b5d00c3e52d4149ff842f674ce0f68cd86509.tar.bz2
coreboot-3c8b5d00c3e52d4149ff842f674ce0f68cd86509.zip
soc/intel/cannonlake: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Iea56a6560bb23d48d19211304e57fc08e1c27fd6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26584 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake/chip.c')
-rw-r--r--src/soc/intel/cannonlake/chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/chip.c b/src/soc/intel/cannonlake/chip.c
index fd9ce526f5cc..0c4232c277bb 100644
--- a/src/soc/intel/cannonlake/chip.c
+++ b/src/soc/intel/cannonlake/chip.c
@@ -140,7 +140,7 @@ void soc_init_pre_device(void *chip_info)
fsp_display_fvi_version_hob();
}
-static void pci_domain_set_resources(device_t dev)
+static void pci_domain_set_resources(struct device *dev)
{
assign_resources(dev->link_list);
}
@@ -162,7 +162,7 @@ static struct device_operations cpu_bus_ops = {
.acpi_fill_ssdt_generator = generate_cpu_entries,
};
-static void soc_enable(device_t dev)
+static void soc_enable(struct device *dev)
{
/* Set the operations if it is a special bus type */
if (dev->path.type == DEVICE_PATH_DOMAIN)