aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/pcie.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801jx/pcie.c')
-rw-r--r--src/southbridge/intel/i82801jx/pcie.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801jx/pcie.c b/src/southbridge/intel/i82801jx/pcie.c
index 01f65dee5d..f5eaca5798 100644
--- a/src/southbridge/intel/i82801jx/pcie.c
+++ b/src/southbridge/intel/i82801jx/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_i82801jx_config *config = dev->chip_info;