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>
This commit is contained in:
Elyes HAOUAS 2018-05-22 10:58:50 +02:00 committed by Kyösti Mälkki
parent 777ccd4396
commit 0f5957a960
1 changed files with 2 additions and 2 deletions

View File

@ -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 */