summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/chip.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-25 12:56:45 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-04 02:35:42 +0000
commit143fb46d47f8450d91820cf8f5ec6d9f524e8e49 (patch)
tree72f6066fe150a7cefdd71f3eaf6335760645befe /src/soc/intel/skylake/chip.c
parent06e8315292bd550c986c0a93158480bd6756f73c (diff)
downloadcoreboot-143fb46d47f8450d91820cf8f5ec6d9f524e8e49.tar.xz
soc/intel/skylake: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Idf00c029331aba30c8bfca71546cad62ff6bb0a7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26541 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/skylake/chip.c')
-rw-r--r--src/soc/intel/skylake/chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/skylake/chip.c b/src/soc/intel/skylake/chip.c
index bb2ecaa744..1e3fdc6fd2 100644
--- a/src/soc/intel/skylake/chip.c
+++ b/src/soc/intel/skylake/chip.c
@@ -39,7 +39,7 @@ void soc_fsp_load(void)
fsp_load();
}
-static void pci_domain_set_resources(device_t dev)
+static void pci_domain_set_resources(struct device *dev)
{
assign_resources(dev->link_list);
}
@@ -60,7 +60,7 @@ static struct device_operations cpu_bus_ops = {
#endif
};
-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)