From 0f5957a9607529ea7e15db09bc590ae192ca912d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 22 May 2018 10:58:50 +0200 Subject: soc/amd/common/block/pci: Get rid of device_t Use of device_t has been abandoned in ramstage. Change-Id: I82089475eb43d58303d1091f35aee06f1f04b4a4 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26459 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/soc/amd/common/block/pci/amd_pci_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/amd/common') diff --git a/src/soc/amd/common/block/pci/amd_pci_util.c b/src/soc/amd/common/block/pci/amd_pci_util.c index 74bb533637..812760189a 100644 --- a/src/soc/amd/common/block/pci/amd_pci_util.c +++ b/src/soc/amd/common/block/pci/amd_pci_util.c @@ -97,8 +97,8 @@ void write_pci_int_table(void) */ void write_pci_cfg_irqs(void) { - device_t dev = NULL; /* Our current device to route IRQs */ - device_t target_dev = NULL; /* to bridge a device may be connected to */ + struct device *dev = NULL; /* Our current device to route IRQs */ + struct device *target_dev = NULL; /* to bridge a device may be connected to */ u16 int_pin = 0; /* Value of the INT_PIN register 0x3D */ u16 target_pin = 0; /* Pin we will search our tables for */ u16 int_line = 0; /* IRQ # read from PCI_INTR tbl and write to 3C */ -- cgit v1.2.3