From 2ec4183c3c93728e5f94e57fe1d10d72843ca7ec Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 27 May 2018 17:40:58 +0200 Subject: soc/intel/denverton_ns: 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: I15e624b40d11f61a3870a6083be82d062690498d Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26587 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/soc/intel/denverton_ns/pmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc/intel/denverton_ns/pmc.c') diff --git a/src/soc/intel/denverton_ns/pmc.c b/src/soc/intel/denverton_ns/pmc.c index 90237a0de3..fe1b7058ba 100644 --- a/src/soc/intel/denverton_ns/pmc.c +++ b/src/soc/intel/denverton_ns/pmc.c @@ -33,7 +33,7 @@ static u16 acpi_base = DEFAULT_ACPI_BASE; static u32 pwrm_base = DEFAULT_PWRM_BASE; -static void pch_power_options(device_t dev) { /* TODO */ } +static void pch_power_options(struct device *dev) { /* TODO */ } static void pch_set_acpi_mode(void) { @@ -44,7 +44,7 @@ static void pch_set_acpi_mode(void) } } -static void pmc_init(device_t dev) +static void pmc_init(struct device *dev) { printk(BIOS_DEBUG, "pch: pmc_init\n"); @@ -64,7 +64,7 @@ static void pmc_init(device_t dev) pch_set_acpi_mode(); } -static void pci_pmc_read_resources(device_t dev) +static void pci_pmc_read_resources(struct device *dev) { struct resource *res; -- cgit v1.2.3