diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-20 01:34:43 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-20 17:59:25 -0400 |
commit | 902ee490fe841452b9665e4405d1bcd520f1ef87 (patch) | |
tree | 640fa34f4d5fe1347cf72bad4dc9fc4366d227e2 | |
parent | ba574dc8563c7c1d1d1c5bf3c1c99ec88513402e (diff) |
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>
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 24a43d4e9933..70741c8c46a0 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -920,7 +920,7 @@ void acpiphp_enumerate_slots(struct pci_bus *bus) | |||
920 | kfree(bridge); | 920 | kfree(bridge); |
921 | } | 921 | } |
922 | 922 | ||
923 | void acpiphp_drop_bridge(struct acpiphp_bridge *bridge) | 923 | static void acpiphp_drop_bridge(struct acpiphp_bridge *bridge) |
924 | { | 924 | { |
925 | if (pci_is_root_bus(bridge->pci_bus)) { | 925 | if (pci_is_root_bus(bridge->pci_bus)) { |
926 | struct acpiphp_root_context *root_context; | 926 | struct acpiphp_root_context *root_context; |