diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 10:48:00 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-21 20:27:20 +0000 |
commit | 1c56f2fe77ea9fb30f277e08a40245b0751471bd (patch) | |
tree | 35086b509f8d34132ea02d4bae252427263d0b17 /src/southbridge/sis/sis966/aza.c | |
parent | 1df39c3aca25bd6822bbd1c3146a4880f9fe2620 (diff) |
sb/sis/sis966: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I6002949fa90a46a2dd0e3519acbf2606bb679322
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26398
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/sis/sis966/aza.c')
-rw-r--r-- | src/southbridge/sis/sis966/aza.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/sis/sis966/aza.c b/src/southbridge/sis/sis966/aza.c index f1a46b518c..39bc675f6b 100644 --- a/src/southbridge/sis/sis966/aza.c +++ b/src/southbridge/sis/sis966/aza.c @@ -295,7 +295,8 @@ static void aza_init(struct device *dev) printk(BIOS_DEBUG, "AZALIA_INIT:<----------\n"); } -static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void lpci_set_subsystem(struct device *dev, unsigned vendor, + unsigned device) { pci_write_config32(dev, 0x40, ((device & 0xffff) << 16) | (vendor & 0xffff)); |