diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-19 10:39:20 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-22 07:18:08 +0000 |
commit | a397089259b49464ec966deb22fe87fc17e48cf7 (patch) | |
tree | f89f23a0b10168aa0828f23d66a7815b35e927b1 /src/southbridge/ti/pci7420 | |
parent | e490a87582fdd7b5df3da3d2211117d179e8d19d (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/pci7420')
-rw-r--r-- | src/southbridge/ti/pci7420/cardbus.c | 8 | ||||
-rw-r--r-- | src/southbridge/ti/pci7420/firewire.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/southbridge/ti/pci7420/cardbus.c b/src/southbridge/ti/pci7420/cardbus.c index ce807dd718..910b0c88ed 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 @@ static void pci7420_cardbus_init(device_t dev) #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 @@ static const struct pci_driver ti_pci7620_driver __pci_driver = { .device = 0xac8d, }; -static void ti_pci7420_enable_dev(device_t dev) +static void ti_pci7420_enable_dev(struct device *dev) { /* Nothing here yet */ } diff --git a/src/southbridge/ti/pci7420/firewire.c b/src/southbridge/ti/pci7420/firewire.c index 2f67141cd3..e42b6a65f8 100644 --- a/src/southbridge/ti/pci7420/firewire.c +++ b/src/southbridge/ti/pci7420/firewire.c @@ -24,7 +24,7 @@ #include "pci7420.h" #include "chip.h" -static void pci7420_firewire_init(device_t dev) +static void pci7420_firewire_init(struct device *dev) { printk(BIOS_DEBUG, "TI PCI7420/7620 FireWire init\n"); @@ -51,7 +51,7 @@ static const struct pci_driver ti_pci7420_driver __pci_driver = { .device = 0x802e, }; -static void ti_pci7420_firewire_enable_dev(device_t dev) +static void ti_pci7420_firewire_enable_dev(struct device *dev) { /* Nothing here yet */ } |