sb/ti/pci{1x2x,i7420,xx12}: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I37c6db65be4477dabb6064c3cc7ea1c63e467d19
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26397
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
diff --git a/src/southbridge/ti/pci7420/cardbus.c b/src/southbridge/ti/pci7420/cardbus.c
index ce807dd..910b0c8 100644
--- a/src/southbridge/ti/pci7420/cardbus.c
+++ b/src/southbridge/ti/pci7420/cardbus.c
@@ -28,7 +28,7 @@
static int cardbus_count = 0;
#endif
-static void pci7420_cardbus_init(device_t dev)
+static void pci7420_cardbus_init(struct device *dev)
{
u8 reg8;
u16 reg16;
@@ -79,12 +79,12 @@
#endif
}
-static void pci7420_cardbus_read_resources(device_t dev)
+static void pci7420_cardbus_read_resources(struct device *dev)
{
cardbus_read_resources(dev);
}
-static void pci7420_cardbus_set_resources(device_t dev)
+static void pci7420_cardbus_set_resources(struct device *dev)
{
printk(BIOS_DEBUG, "%s In set resources\n",dev_path(dev));
@@ -113,7 +113,7 @@
.device = 0xac8d,
};
-static void ti_pci7420_enable_dev(device_t dev)
+static void ti_pci7420_enable_dev(struct device *dev)
{
/* Nothing here yet */
}