From aba8f678d22f157de333fc6409f3cd715f062cf3 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Sat, 3 Sep 2016 10:45:33 +0200 Subject: [PATCH] UPSTREAM: northbridge/amd/amdht: transition away from device_t Replace the use of the old device_t definition inside northbridge/amd/amdht. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori Reviewed-on: https://review.coreboot.org/16468 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Change-Id: I7dfb8f001504c691aeddf1bfbc3be05cc7d31ce4 Reviewed-on: https://chromium-review.googlesource.com/384994 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/northbridge/amd/amdht/ht_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c index 0dfc6abf64..169b4b3369 100644 --- a/src/northbridge/amd/amdht/ht_wrapper.c +++ b/src/northbridge/amd/amdht/ht_wrapper.c @@ -69,7 +69,7 @@ static u32 get_nodes(void) { - device_t dev; + pci_devfn_t dev; u32 nodes; dev = PCI_DEV(CONFIG_CBB, CONFIG_CDB, 0);