aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/pci.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-13 13:36:44 +0200
committerNico Huber <nico.h@gmx.de>2018-05-24 18:05:56 +0000
commit1a8c1df55bf7bd84a16ac49f420001d66292dd87 (patch)
treec03118bc61fa12f87f91f9b92590b3f561e1d972 /src/southbridge/intel/i82801jx/pci.c
parentac350f82cd4dfab20a6fb49e5dea536ae448e054 (diff)
sb/intel/i82801jx: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I37be7672c88b28180d7d4b46928ebed8472ec020 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26257 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/intel/i82801jx/pci.c')
-rw-r--r--src/southbridge/intel/i82801jx/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801jx/pci.c b/src/southbridge/intel/i82801jx/pci.c
index 2262c91465..cfafda09cc 100644
--- a/src/southbridge/intel/i82801jx/pci.c
+++ b/src/southbridge/intel/i82801jx/pci.c
@@ -43,7 +43,7 @@ static void pci_init(struct device *dev)
pci_write_config16(dev, PCI_SEC_STATUS, reg16);
}
-static void set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void set_subsystem(struct device *dev, unsigned vendor, unsigned device)
{
/* NOTE: 0x54 is not the default position! */
if (!vendor || !device) {