summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-06-07 17:12:57 +0000
committerMyles Watson <mylesgw@gmail.com>2010-06-07 17:12:57 +0000
commit84e8e453c820aee0964a8825e08632fcbbae31a4 (patch)
treec8cbfc067d1f12f852333a283935f007450bbb98 /src
parent03adcfdb191db5ad4d3f507c776851f9598108e8 (diff)
downloadcoreboot-84e8e453c820aee0964a8825e08632fcbbae31a4.tar.xz
Remove the rest of cardbus_scan_bus.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5620 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/include/device/cardbus.h3
-rw-r--r--src/southbridge/ricoh/rl5c476/rl5c476.c2
-rw-r--r--src/southbridge/ti/pci7420/pci7420_cardbus.c2
-rw-r--r--src/southbridge/ti/pcixx12/pcixx12.c2
4 files changed, 3 insertions, 6 deletions
diff --git a/src/include/device/cardbus.h b/src/include/device/cardbus.h
index 5b003d3217..c48a19be25 100644
--- a/src/include/device/cardbus.h
+++ b/src/include/device/cardbus.h
@@ -3,9 +3,6 @@
/* (c) 2005 Linux Networx GPL see COPYING for details */
void cardbus_read_resources(device_t dev);
-unsigned int cardbus_scan_bus(struct bus *bus,
- unsigned min_devfn, unsigned max_devfn, unsigned int max);
-unsigned int cardbus_scan_bridge(device_t dev, unsigned int max);
void cardbus_enable_resources(device_t dev);
extern struct device_operations default_cardbus_ops_bus;
diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.c b/src/southbridge/ricoh/rl5c476/rl5c476.c
index 70d74f5fab..0c8916b742 100644
--- a/src/southbridge/ricoh/rl5c476/rl5c476.c
+++ b/src/southbridge/ricoh/rl5c476/rl5c476.c
@@ -203,7 +203,7 @@ static struct device_operations ricoh_rl5c476_ops = {
.set_resources = rl5c476_set_resources,
.enable_resources = cardbus_enable_resources,
.init = rl5c476_init,
- .scan_bus = cardbus_scan_bridge,
+ .scan_bus = pci_scan_bridge,
};
static const struct pci_driver ricoh_rl5c476_driver __pci_driver = {
diff --git a/src/southbridge/ti/pci7420/pci7420_cardbus.c b/src/southbridge/ti/pci7420/pci7420_cardbus.c
index 4814d97707..2ab383b511 100644
--- a/src/southbridge/ti/pci7420/pci7420_cardbus.c
+++ b/src/southbridge/ti/pci7420/pci7420_cardbus.c
@@ -102,7 +102,7 @@ static struct device_operations ti_pci7420_ops = {
.set_resources = pci7420_cardbus_set_resources,
.enable_resources = cardbus_enable_resources,
.init = pci7420_cardbus_init,
- .scan_bus = cardbus_scan_bridge,
+ .scan_bus = pci_scan_bridge,
};
static const struct pci_driver ti_pci7420_driver __pci_driver = {
diff --git a/src/southbridge/ti/pcixx12/pcixx12.c b/src/southbridge/ti/pcixx12/pcixx12.c
index 782face3b6..5e9b77fa8d 100644
--- a/src/southbridge/ti/pcixx12/pcixx12.c
+++ b/src/southbridge/ti/pcixx12/pcixx12.c
@@ -52,7 +52,7 @@ static struct device_operations ti_pcixx12_ops = {
.set_resources = pcixx12_set_resources,
.enable_resources = cardbus_enable_resources,
.init = pcixx12_init,
- .scan_bus = cardbus_scan_bridge,
+ .scan_bus = pci_scan_bridge,
};
static const struct pci_driver ti_pcixx12_driver __pci_driver = {