summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/family15
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-03-19 15:26:52 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-06-04 11:20:02 +0200
commit6f37017c57db271beef5dd8f9f9d1229a1f99219 (patch)
treee4695a6d74e08de2846916f0421bcdd0f9ac30a5 /src/northbridge/amd/agesa/family15
parentcd37a2ba4159c62dfbff1bb7397e9e2d4da0c694 (diff)
downloadcoreboot-6f37017c57db271beef5dd8f9f9d1229a1f99219.tar.xz
devicetree: Rename unused parameter max in domain_scan_bus()
For the PCI root node, input parameter max==0 and output value max is not relevant for operation. Change-Id: I23adab24aa957c4d51d703098a9a40ed660b4e6c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8855 Tested-by: build bot (Jenkins) Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Diffstat (limited to 'src/northbridge/amd/agesa/family15')
-rw-r--r--src/northbridge/amd/agesa/family15/northbridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/amd/agesa/family15/northbridge.c b/src/northbridge/amd/agesa/family15/northbridge.c
index 5a08f23dcd..093d0c065d 100644
--- a/src/northbridge/amd/agesa/family15/northbridge.c
+++ b/src/northbridge/amd/agesa/family15/northbridge.c
@@ -951,11 +951,11 @@ static void domain_set_resources(device_t dev)
}
/* all family15's pci devices are under 0x18.0, so we search from dev 0x18 fun 0 */
-static unsigned int f15_pci_domain_scan_bus(device_t dev, unsigned int max)
+static unsigned int f15_pci_domain_scan_bus(device_t dev, unsigned int unused)
{
struct bus *link = dev->link_list;
link->subordinate = pci_scan_bus(link, PCI_DEVFN(0x18, 0), 0xff, link->secondary);
- return link->subordinate;
+ return unused;
}
static struct device_operations pci_domain_ops = {