summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-22 10:58:50 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 09:57:45 +0000
commit0f5957a9607529ea7e15db09bc590ae192ca912d (patch)
tree915c3f9f49fc897604ef90f8332f631340cbfcdb /src/soc/amd/common
parent777ccd43961c002baebd52d986f5e49b0d7bc7f8 (diff)
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26459 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/pci/amd_pci_util.c4
1 files changed, 2 insertions, 2 deletions
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 */