summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx/pci.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-13 12:47:28 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-22 07:22:01 +0000
commit996670377666eac27af4c4562d48677305e4e937 (patch)
treef70c430db822c42e9d44686836ec8937503b4aee /src/southbridge/intel/i82801gx/pci.c
parentcbcdb3e754a2d1c68928725d37ccf1621d936a74 (diff)
sb/intel/i82801gx: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Iccddf3140fd94c2e5a246fe2839573f5dd387147 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26245 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/intel/i82801gx/pci.c')
-rw-r--r--src/southbridge/intel/i82801gx/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801gx/pci.c b/src/southbridge/intel/i82801gx/pci.c
index 1635dfedf8..97ae98abdf 100644
--- a/src/southbridge/intel/i82801gx/pci.c
+++ b/src/southbridge/intel/i82801gx/pci.c
@@ -97,8 +97,8 @@ static void ich_pci_bus_enable_resources(struct device *dev)
ich_pci_dev_enable_resources(dev);
}
-static void set_subsystem(device_t dev, unsigned int vendor,
- unsigned int device)
+static void set_subsystem(struct device *dev, unsigned int vendor,
+ unsigned int device)
{
/* NOTE: This is not the default position! */
if (!vendor || !device) {