summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-25 10:30:42 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-03-01 21:55:22 +0100
commit280a29d5bb5ea53ae92380a95cf8eb4543f96749 (patch)
tree96c3a8ff08f2b49c6b13d6867420720f40984dba
parent85756c14e9966aa77a06720fcae829329690783c (diff)
devicetree: Drop redundant scan_bus() ops
Change-Id: If96e0843f507b9f1db9977b5d0c47f5ed1c59999 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8533 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--src/northbridge/intel/i3100/northbridge.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/northbridge/intel/i3100/northbridge.c b/src/northbridge/intel/i3100/northbridge.c
index 2cf5ae1d58..ab40e56898 100644
--- a/src/northbridge/intel/i3100/northbridge.c
+++ b/src/northbridge/intel/i3100/northbridge.c
@@ -132,18 +132,12 @@ static void pci_domain_set_resources(device_t dev)
assign_resources(dev->link_list);
}
-static u32 i3100_domain_scan_bus(device_t dev, u32 max)
-{
- max_bus = pci_domain_scan_bus(dev, max);
- return max_bus;
-}
-
static struct device_operations pci_domain_ops = {
.read_resources = pci_domain_read_resources,
.set_resources = pci_domain_set_resources,
.enable_resources = NULL,
.init = NULL,
- .scan_bus = i3100_domain_scan_bus,
+ .scan_bus = pci_domain_scan_bus,
.ops_pci_bus = pci_bus_default_ops,
};