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>
This commit is contained in:
Elyes HAOUAS
2018-05-13 12:47:28 +02:00
committed by Patrick Georgi
parent cbcdb3e754
commit 9966703776
13 changed files with 37 additions and 35 deletions

View File

@@ -89,8 +89,8 @@ static void pci_init(struct device *dev)
pci_write_config16(dev, 0x1e, reg16);
}
static void pcie_set_subsystem(device_t dev, unsigned int vendor,
unsigned int device)
static void pcie_set_subsystem(struct device *dev, unsigned int vendor,
unsigned int device)
{
/* NOTE: This is not the default position! */
if (!vendor || !device) {