Skip to content

Commit 902ee49

Browse files
Wei Yongjunrafaeljw
Wei Yongjun
authored andcommitted
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent ba574dc commit 902ee49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/hotplug/acpiphp_glue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ void acpiphp_enumerate_slots(struct pci_bus *bus)
920920
kfree(bridge);
921921
}
922922

923-
void acpiphp_drop_bridge(struct acpiphp_bridge *bridge)
923+
static void acpiphp_drop_bridge(struct acpiphp_bridge *bridge)
924924
{
925925
if (pci_is_root_bus(bridge->pci_bus)) {
926926
struct acpiphp_root_context *root_context;

0 commit comments

Comments
 (0)