summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5785/usb.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 12:11:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-22 07:17:35 +0000
commite490a87582fdd7b5df3da3d2211117d179e8d19d (patch)
treeb30576b64065dc75a51f870f17dcfb3cc6378fdd /src/southbridge/broadcom/bcm5785/usb.c
parent86c92ba0422a7075af2f0f1e6da791fc0c6f7aad (diff)
downloadcoreboot-e490a87582fdd7b5df3da3d2211117d179e8d19d.tar.xz
sb/broadcom/bcm5785: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ia39347f9d07bb0055ea4686a8b319f323f68062e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/broadcom/bcm5785/usb.c')
-rw-r--r--src/southbridge/broadcom/bcm5785/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/broadcom/bcm5785/usb.c b/src/southbridge/broadcom/bcm5785/usb.c
index 9aa64df842..ab8e588f84 100644
--- a/src/southbridge/broadcom/bcm5785/usb.c
+++ b/src/southbridge/broadcom/bcm5785/usb.c
@@ -33,7 +33,8 @@ static void usb_init(struct device *dev)
}
-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));