summaryrefslogtreecommitdiff
path: root/src/southbridge/ti/pcixx12/pcixx12.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 10:39:20 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-22 07:18:08 +0000
commita397089259b49464ec966deb22fe87fc17e48cf7 (patch)
treef89f23a0b10168aa0828f23d66a7815b35e927b1 /src/southbridge/ti/pcixx12/pcixx12.c
parente490a87582fdd7b5df3da3d2211117d179e8d19d (diff)
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>
Diffstat (limited to 'src/southbridge/ti/pcixx12/pcixx12.c')
-rw-r--r--src/southbridge/ti/pcixx12/pcixx12.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/ti/pcixx12/pcixx12.c b/src/southbridge/ti/pcixx12/pcixx12.c
index 91d4885e02..ab7231e640 100644
--- a/src/southbridge/ti/pcixx12/pcixx12.c
+++ b/src/southbridge/ti/pcixx12/pcixx12.c
@@ -21,18 +21,18 @@
#include <console/console.h>
#include <device/cardbus.h>
-static void pcixx12_init(device_t dev)
+static void pcixx12_init(struct device *dev)
{
/* cardbus controller function 1 for CF Socket */
printk(BIOS_DEBUG, "TI PCIxx12 init\n");
}
-static void pcixx12_read_resources(device_t dev)
+static void pcixx12_read_resources(struct device *dev)
{
cardbus_read_resources(dev);
}
-static void pcixx12_set_resources(device_t dev)
+static void pcixx12_set_resources(struct device *dev)
{
printk(BIOS_DEBUG, "%s In set resources\n",dev_path(dev));
@@ -55,7 +55,7 @@ static const struct pci_driver ti_pcixx12_driver __pci_driver = {
.device = 0x8039,
};
-static void southbridge_init(device_t dev)
+static void southbridge_init(struct device *dev)
{
}