summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801ix/pcie.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-13 13:34:58 +0200
committerNico Huber <nico.h@gmx.de>2018-05-24 18:07:20 +0000
commit8aa50730aa91f45e3a05c1c06ddc7eb126e2bfda (patch)
tree8362f93d34ebcecac82134009f5f0ec34981fcce /src/southbridge/intel/i82801ix/pcie.c
parent1a8c1df55bf7bd84a16ac49f420001d66292dd87 (diff)
downloadcoreboot-8aa50730aa91f45e3a05c1c06ddc7eb126e2bfda.tar.xz
sb/intel/i82801ix: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Iefef4e72f1012c8a6edbb9e5c94bdc162bed93d0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26256 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/intel/i82801ix/pcie.c')
-rw-r--r--src/southbridge/intel/i82801ix/pcie.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801ix/pcie.c b/src/southbridge/intel/i82801ix/pcie.c
index 502e765773..04eb9b938b 100644
--- a/src/southbridge/intel/i82801ix/pcie.c
+++ b/src/southbridge/intel/i82801ix/pcie.c
@@ -94,7 +94,8 @@ static void pci_init(struct device *dev)
}
}
-static void pcie_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void pcie_set_subsystem(struct device *dev, unsigned vendor,
+ unsigned device)
{
/* NOTE: 0x94 is not the default position! */
if (!vendor || !device) {
@@ -106,7 +107,7 @@ static void pcie_set_subsystem(device_t dev, unsigned vendor, unsigned device)
}
}
-static void pch_pciexp_scan_bridge(device_t dev)
+static void pch_pciexp_scan_bridge(struct device *dev)
{
struct southbridge_intel_i82801ix_config *config = dev->chip_info;