diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 17:40:58 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 02:36:19 +0000 |
commit | 2ec4183c3c93728e5f94e57fe1d10d72843ca7ec (patch) | |
tree | 97c0934bc174e1407a61b1f57f6c2388925e6c4a /src/soc/intel/denverton_ns/pmc.c | |
parent | 143fb46d47f8450d91820cf8f5ec6d9f524e8e49 (diff) |
soc/intel/denverton_ns: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I15e624b40d11f61a3870a6083be82d062690498d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26587
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/denverton_ns/pmc.c')
-rw-r--r-- | src/soc/intel/denverton_ns/pmc.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |