ACPI / hotplug / PCI: Fix sparse non static symbol warning

Fixes the following sparse warning:

drivers/pci/hotplug/acpiphp_glue.c:923:6: warning:
 symbol 'acpiphp_drop_bridge' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Wei Yongjun 2014-07-20 13:34:43 +08:00 коммит произвёл Rafael J. Wysocki
Родитель ba574dc856
Коммит 902ee490fe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -920,7 +920,7 @@ void acpiphp_enumerate_slots(struct pci_bus *bus)
kfree(bridge); kfree(bridge);
} }
void acpiphp_drop_bridge(struct acpiphp_bridge *bridge) static void acpiphp_drop_bridge(struct acpiphp_bridge *bridge)
{ {
if (pci_is_root_bus(bridge->pci_bus)) { if (pci_is_root_bus(bridge->pci_bus)) {
struct acpiphp_root_context *root_context; struct acpiphp_root_context *root_context;