summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/azalia.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/azalia.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/azalia.c')
-rw-r--r--src/southbridge/intel/lynxpoint/azalia.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/azalia.c b/src/southbridge/intel/lynxpoint/azalia.c
index 0b1acdd409..38db1a47fc 100644
--- a/src/southbridge/intel/lynxpoint/azalia.c
+++ b/src/southbridge/intel/lynxpoint/azalia.c
@@ -154,7 +154,8 @@ static void azalia_init(struct device *dev)
}
}
-static void azalia_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void azalia_set_subsystem(struct device *dev, unsigned int vendor,
+ unsigned int device)
{
if (!vendor || !device) {
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,