diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-25 08:29:27 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 02:32:42 +0000 |
commit | 4aec34005d58360c503c3b5a2f1ed05efe1afbee (patch) | |
tree | 607f2ca4834702299808c0c3fde745a88ac34003 /src/southbridge/intel/bd82x6x/usb_xhci.c | |
parent | dfe8d644598918b6d2da2d075a7ea3433d7ca586 (diff) | |
download | coreboot-4aec34005d58360c503c3b5a2f1ed05efe1afbee.tar.xz |
sb/intel/bd82x6x: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I05f23504148d934109814b8f3c1c2a334366496a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26530
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/intel/bd82x6x/usb_xhci.c')
-rw-r--r-- | src/southbridge/intel/bd82x6x/usb_xhci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/intel/bd82x6x/usb_xhci.c b/src/southbridge/intel/bd82x6x/usb_xhci.c index 6acc63bb91..1b2755b4ab 100644 --- a/src/southbridge/intel/bd82x6x/usb_xhci.c +++ b/src/southbridge/intel/bd82x6x/usb_xhci.c @@ -56,7 +56,8 @@ static const char *xhci_acpi_name(const struct device *dev) return "XHC"; } -static void xhci_set_subsystem(device_t dev, unsigned vendor, unsigned device) +static void xhci_set_subsystem(struct device *dev, unsigned vendor, + unsigned device) { if (!vendor || !device) { pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID, |