diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-03 10:45:33 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:19:38 +0200 |
commit | 8126daf6f36c2c99edd3f39fa003a53f8fa0d63f (patch) | |
tree | 1a96caa7f43b7b775cbe8b7a25f1c9f7ebd01f77 /src/southbridge/nvidia/mcp55/early_setup_car.c | |
parent | 10505470bc3cc6f6b473e528f46aaceaceb05a1f (diff) |
southbridge/nvidia/mcp55: transition away from device_t
Replace the use of the old device_t definition inside
southbridge/nvidia/mcp55.
Change-Id: I98ac468940eaf6c456fa95540ec3e718edfe26a7
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16487
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/nvidia/mcp55/early_setup_car.c')
-rw-r--r-- | src/southbridge/nvidia/mcp55/early_setup_car.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/mcp55/early_setup_car.c b/src/southbridge/nvidia/mcp55/early_setup_car.c index 619ba4cc90..76947ec18d 100644 --- a/src/southbridge/nvidia/mcp55/early_setup_car.c +++ b/src/southbridge/nvidia/mcp55/early_setup_car.c @@ -112,7 +112,7 @@ static void mcp55_early_pcie_setup(unsigned busnx, unsigned devnx, { u32 tgio_ctrl, pll_ctrl, dword; int i; - device_t dev; + pci_devfn_t dev; dev = PCI_DEV(busnx, devnx + 1, 1); @@ -378,7 +378,7 @@ static int mcp55_early_setup_x(void) busnx = ht_c_index * HT_CHAIN_BUSN_D; for (devnx = 0; devnx < 0x20; devnx++) { u32 id; - device_t dev; + pci_devfn_t dev; dev = PCI_DEV(busnx, devnx, 0); id = pci_read_config32(dev, PCI_VENDOR_ID); if (id == 0x036910de) { |