summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/kfsn4-dre
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-03 10:47:40 +0200
committerMartin Roth <martinroth@google.com>2016-09-13 17:16:24 +0200
commit837618bf20b93ffa4fb23db1dde510b221ce90df (patch)
tree00e81eb87a4bb635f70f8b9e62421bf6bcca26a6 /src/mainboard/asus/kfsn4-dre
parente889b19ba08830882da18614494b811c3698520e (diff)
mainboard/asus/*: transition away from device_t
Replace the use of the old device_t definition inside mainboard/asus/*. Change-Id: I5ddfba2102854adcc9bbfd75f7acbe76f0152b72 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16438 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/asus/kfsn4-dre')
-rw-r--r--src/mainboard/asus/kfsn4-dre/romstage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/kfsn4-dre/romstage.c b/src/mainboard/asus/kfsn4-dre/romstage.c
index 05ba1f9d00..0889f2430e 100644
--- a/src/mainboard/asus/kfsn4-dre/romstage.c
+++ b/src/mainboard/asus/kfsn4-dre/romstage.c
@@ -82,7 +82,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
*/
unsigned int get_sbdn(unsigned bus)
{
- device_t dev;
+ pci_devfn_t dev;
dev = pci_locate_device_on_bus(PCI_ID(PCI_VENDOR_ID_NVIDIA,
PCI_DEVICE_ID_NVIDIA_CK804_PRO), bus);
@@ -133,7 +133,7 @@ static void ck804_control(const unsigned int* values, u32 size, uint8_t bus_unit
for (i = 0; i < 4; i++) {
u32 id;
- device_t dev;
+ pci_devfn_t dev;
if (i == 0) /* SB chain */
dev = PCI_DEV(i * 0x40, bus_unit_id, 0);
else