diff options
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r-- | drivers/acpi/pci_root.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index fd59f57d3829..417487a201fb 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c | |||
@@ -107,24 +107,6 @@ void acpi_pci_unregister_driver(struct acpi_pci_driver *driver) | |||
107 | } | 107 | } |
108 | EXPORT_SYMBOL(acpi_pci_unregister_driver); | 108 | EXPORT_SYMBOL(acpi_pci_unregister_driver); |
109 | 109 | ||
110 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int seg, unsigned int bus) | ||
111 | { | ||
112 | struct acpi_pci_root *root; | ||
113 | acpi_handle handle = NULL; | ||
114 | |||
115 | mutex_lock(&acpi_pci_root_lock); | ||
116 | list_for_each_entry(root, &acpi_pci_roots, node) | ||
117 | if ((root->segment == (u16) seg) && | ||
118 | (root->secondary.start == (u16) bus)) { | ||
119 | handle = root->device->handle; | ||
120 | break; | ||
121 | } | ||
122 | mutex_unlock(&acpi_pci_root_lock); | ||
123 | return handle; | ||
124 | } | ||
125 | |||
126 | EXPORT_SYMBOL_GPL(acpi_get_pci_rootbridge_handle); | ||
127 | |||
128 | /** | 110 | /** |
129 | * acpi_is_root_bridge - determine whether an ACPI CA node is a PCI root bridge | 111 | * acpi_is_root_bridge - determine whether an ACPI CA node is a PCI root bridge |
130 | * @handle - the ACPI CA node in question. | 112 | * @handle - the ACPI CA node in question. |