diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-25 08:09:53 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 02:41:24 +0000 |
commit | 2a5f6cb35188dcf8efb049d086c9ad88a48d2fc2 (patch) | |
tree | fc709fd9c8d80b20b27ddcf7a666b330d52e049a /src/northbridge/via/vx900/traf_ctrl.c | |
parent | df3de64b3703e136e0b178c00e71ac785e1de20f (diff) |
nb/via/vx900: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I31143e1c7f1c52dec9673f75d73031632049ddbf
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26529
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/via/vx900/traf_ctrl.c')
-rw-r--r-- | src/northbridge/via/vx900/traf_ctrl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/via/vx900/traf_ctrl.c b/src/northbridge/via/vx900/traf_ctrl.c index 0fb55b3b05..8bdf25c828 100644 --- a/src/northbridge/via/vx900/traf_ctrl.c +++ b/src/northbridge/via/vx900/traf_ctrl.c @@ -45,10 +45,10 @@ * We are assuming this is called before the drivers/generic/ioapic code, * which should be the case if devicetree.cb is set up properly. */ -static void vx900_north_ioapic_setup(device_t dev) +static void vx900_north_ioapic_setup(struct device *dev) { u8 base_val; - device_t ioapic; + struct device *ioapic; ioapic_config_t *config; /* Find the IOAPIC, and make sure it's set up correctly in devicetree.cb * If it's not, then the generic ioapic driver will not set it up @@ -103,7 +103,7 @@ static void vx900_north_ioapic_setup(device_t dev) * * FIXME: triple-quadruple-check this */ -static void vx900_pex_link_setup(device_t dev) +static void vx900_pex_link_setup(struct device *dev) { u8 reg8; struct northbridge_via_vx900_config *nb = (void *)dev->chip_info; @@ -120,7 +120,7 @@ static void vx900_pex_link_setup(device_t dev) pci_write_config8(dev, 0xb0, reg8); } -static void vx900_traf_ctr_init(device_t dev) +static void vx900_traf_ctr_init(struct device *dev) { vx900_north_ioapic_setup(dev); vx900_pex_link_setup(dev); |