From 143fb46d47f8450d91820cf8f5ec6d9f524e8e49 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 25 May 2018 12:56:45 +0200 Subject: soc/intel/skylake: Get rid of device_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use of device_t has been abandoned in ramstage. Change-Id: Idf00c029331aba30c8bfca71546cad62ff6bb0a7 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26541 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/soc/intel/skylake/chip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/skylake/chip.c') 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) -- cgit v1.2.3