summaryrefslogtreecommitdiff
path: root/src/southbridge/sis/sis966/usb.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 10:48:00 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:27:20 +0000
commit1c56f2fe77ea9fb30f277e08a40245b0751471bd (patch)
tree35086b509f8d34132ea02d4bae252427263d0b17 /src/southbridge/sis/sis966/usb.c
parent1df39c3aca25bd6822bbd1c3146a4880f9fe2620 (diff)
downloadcoreboot-1c56f2fe77ea9fb30f277e08a40245b0751471bd.tar.xz
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/usb.c')
-rw-r--r--src/southbridge/sis/sis966/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/sis/sis966/usb.c b/src/southbridge/sis/sis966/usb.c
index 3f4f98d3e3..fce6002198 100644
--- a/src/southbridge/sis/sis966/usb.c
+++ b/src/southbridge/sis/sis966/usb.c
@@ -86,7 +86,8 @@ static void usb_init(struct device *dev)
printk(BIOS_DEBUG, "USB 1.1 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));