summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/early_usb.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-17 08:44:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-18 16:22:03 +0000
commit38f1d13a755548ee8afaf9b5e19d8b6709b9e55d (patch)
treedd9d756059a029174459b55d29dbb0ac0539cdd0 /src/southbridge/intel/lynxpoint/early_usb.c
parent32ca3cd246746c2a1d584e4a63bcd43ebb7fe23f (diff)
downloadcoreboot-38f1d13a755548ee8afaf9b5e19d8b6709b9e55d.tar.xz
src/{sb/intel,mb/google/auron}: Don't use device_t
Use of device_t is deprecated. Change-Id: I564319506870f75eab58cce535d4e3535a64a993 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28642 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/early_usb.c')
-rw-r--r--src/southbridge/intel/lynxpoint/early_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/early_usb.c b/src/southbridge/intel/lynxpoint/early_usb.c
index a64530eae0..fbc7b37c0c 100644
--- a/src/southbridge/intel/lynxpoint/early_usb.c
+++ b/src/southbridge/intel/lynxpoint/early_usb.c
@@ -38,7 +38,7 @@
* The BAR will be re-assigned during device
* enumeration so these are only temporary.
*/
-static void enable_usb_bar_on_device(device_t dev, u32 bar)
+static void enable_usb_bar_on_device(pci_devfn_t dev, u32 bar)
{
u32 cmd;
pci_write_config32(dev, PCI_BASE_ADDRESS_0, bar);