From 777ccd43961c002baebd52d986f5e49b0d7bc7f8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 22 May 2018 10:52:05 +0200 Subject: soc/amd/stoneyridge/: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I84fbc90b2a81fe5476d659716f0d6e4f0d7e1de2 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26458 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/soc/amd/stoneyridge/include/soc/acpi.h | 4 ++-- src/soc/amd/stoneyridge/include/soc/northbridge.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/soc/amd/stoneyridge/include') diff --git a/src/soc/amd/stoneyridge/include/soc/acpi.h b/src/soc/amd/stoneyridge/include/soc/acpi.h index 69ab599509..3212ec7cf7 100644 --- a/src/soc/amd/stoneyridge/include/soc/acpi.h +++ b/src/soc/amd/stoneyridge/include/soc/acpi.h @@ -30,10 +30,10 @@ #define FADT_PM_PROFILE PM_UNSPECIFIED #endif -unsigned long southbridge_write_acpi_tables(device_t device, +unsigned long southbridge_write_acpi_tables(struct device *device, unsigned long current, struct acpi_rsdp *rsdp); -void southbridge_inject_dsdt(device_t device); +void southbridge_inject_dsdt(struct device *device); const char *soc_acpi_name(const struct device *dev); diff --git a/src/soc/amd/stoneyridge/include/soc/northbridge.h b/src/soc/amd/stoneyridge/include/soc/northbridge.h index 365a9f5eef..666be10e1e 100644 --- a/src/soc/amd/stoneyridge/include/soc/northbridge.h +++ b/src/soc/amd/stoneyridge/include/soc/northbridge.h @@ -107,9 +107,9 @@ void smm_region_info(void **start, size_t *size); * 0 on success, < 0 on failure. */ int smm_subregion(int sub, void **start, size_t *size); -void domain_enable_resources(device_t dev); -void domain_read_resources(device_t dev); -void domain_set_resources(device_t dev); +void domain_enable_resources(struct device *dev); +void domain_read_resources(struct device *dev); +void domain_set_resources(struct device *dev); void fam15_finalize(void *chip_info); void setup_uma_memory(void); uint32_t nb_ioapic_read(unsigned int index); -- cgit v1.2.3