sb/amd/common: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: Ie16a1c131ec41eeccc0bf5235b3fc2341095d4a8
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26413
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
diff --git a/src/southbridge/amd/common/amd_pci_util.c b/src/southbridge/amd/common/amd_pci_util.c
index b6b2bd3..2acd151 100644
--- a/src/southbridge/amd/common/amd_pci_util.c
+++ b/src/southbridge/amd/common/amd_pci_util.c
@@ -94,8 +94,8 @@
  */
 void write_pci_cfg_irqs(void)
 {
-	device_t dev = NULL;		/* Our current device to route IRQs to */
-	device_t target_dev = NULL;	/* The bridge that a device may be connected to */
+	struct device *dev = NULL;		/* Our current device to route IRQs to */
+	struct device *target_dev = NULL;	/* The bridge that 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 number read from PCI_INTR table and programmed to INT_LINE reg 0x3C */