southbridge/nvidia/ck804: transition away from device_t

Replace the use of the old device_t definition inside
southbridge/nvidia/ck801.

Change-Id: I43d4d2175f0b6b9e7e2e6fe665ba3d99d792427c
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16486
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Antonello Dettori 2016-09-03 10:45:33 +02:00 committed by Martin Roth
parent 66a02c1ef3
commit 10505470bc
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ static int ck804_early_setup_x(void)
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, CK804_DEVN_BASE, 0);
else

View File

@ -32,7 +32,7 @@
void enable_smbus(void)
{
device_t dev;
pci_devfn_t dev;
dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_NVIDIA,
PCI_DEVICE_ID_NVIDIA_CK804_SMB), 0);