]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Declare pciehp_enable/disable_slot() static
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:47 +0000 (17:27 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 23 Jul 2018 22:04:15 +0000 (17:04 -0500)
commitea85e55fa570a342f90637c3ac0bee50a6f14672
tree81fae03253c2f1e7bd686b0d14fc201a9dc7f26b
parent56c7542eae2cd763315285f3f882678097a309cf
PCI: pciehp: Declare pciehp_enable/disable_slot() static

No callers of pciehp_enable/disable_slot() outside of pciehp_ctrl.c
remain, so declare the functions static.  For now this requires forward
declarations.  Those can be eliminated by reshuffling functions once the
ongoing effort to refactor the driver has settled.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c