diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 17:01:24 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-20 10:58:28 +0000 |
commit | e51d731abcd25dee546508e28ba58dd205e3b3f1 (patch) | |
tree | 384db4384acc220cb5eea1688ff47d2e4eccd294 /src/southbridge/amd/cimx/sb900/late.c | |
parent | ee424e5941a526d354409d943bae374c8b59d68a (diff) |
sb/amd/cimx/sb900: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Id634edd7005db85690cdc93579c1f97588ffc5f8
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26416
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/cimx/sb900/late.c')
-rw-r--r-- | src/southbridge/amd/cimx/sb900/late.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/southbridge/amd/cimx/sb900/late.c b/src/southbridge/amd/cimx/sb900/late.c index 7c001d9b6a..e792fe3c61 100644 --- a/src/southbridge/amd/cimx/sb900/late.c +++ b/src/southbridge/amd/cimx/sb900/late.c @@ -14,7 +14,7 @@ */ -#include <device/device.h> /* device_t */ +#include <device/device.h> #include <device/pci.h> /* device_operations */ #include <device/pci_ids.h> #include <device/smbus.h> /* smbus_bus_operations */ @@ -73,7 +73,7 @@ static struct pci_operations lops_pci = { .set_subsystem = 0, }; -static void lpc_enable_resources(device_t dev) +static void lpc_enable_resources(struct device *dev) { printk(BIOS_DEBUG, "SB900 - Late.c - lpc_enable_resources - Start.\n"); @@ -82,7 +82,7 @@ static void lpc_enable_resources(device_t dev) printk(BIOS_DEBUG, "SB900 - Late.c - lpc_enable_resources - End.\n"); } -static void lpc_init(device_t dev) +static void lpc_init(struct device *dev) { printk(BIOS_DEBUG, "SB900 - Late.c - lpc_init - Start.\n"); /* SB Configure HPET base and enable bit */ @@ -266,7 +266,7 @@ static const struct pci_driver gec_driver __pci_driver = { }; -static void pcie_init(device_t dev) +static void pcie_init(struct device *dev) { printk(BIOS_DEBUG, "SB900 - Late.c - pcie_init - Start.\n"); //- sbPcieGppLateInit(sb_config); @@ -333,7 +333,7 @@ static const struct pci_driver PORTD_driver __pci_driver = { /** * @brief SB Cimx entry point sbBeforePciInit wrapper */ -static void sb900_enable(device_t dev) +static void sb900_enable(struct device *dev) { u8 gpp_port = 0; struct southbridge_amd_cimx_sb900_config *sb_chip = |