[RFC PATCH] PCI: pciehp: pciehp_queue_power_work() can be static

From: kbuild test robot
Date: Mon Oct 12 2015 - 17:22:55 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
pciehp_ctrl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/hotplug/pciehp_ctrl.c b/drivers/pci/hotplug/pciehp_ctrl.c
index ef96a1d..e27a9e2 100644
--- a/drivers/pci/hotplug/pciehp_ctrl.c
+++ b/drivers/pci/hotplug/pciehp_ctrl.c
@@ -204,7 +204,7 @@ static void pciehp_power_thread(struct work_struct *work)
kfree(info);
}

-void pciehp_queue_power_work(struct slot *p_slot, int req)
+static void pciehp_queue_power_work(struct slot *p_slot, int req)
{
struct power_work_info *info;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/