From: Adrian Bunk Date: Fri, 25 Apr 2008 21:39:10 +0000 (-0700) Subject: make pciehp_acpi_get_hp_hw_control_from_firmware() X-Git-Tag: v2.6.26-rc1~364^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4ea3e58b22b3719af99c567d08136bbe50cb4435;p=linux-2.6-omap-h63xx.git make pciehp_acpi_get_hp_hw_control_from_firmware() this_patch_makes_the_needlessly_global_pciehp_acpi_get_hp_hw_control_from_firmware_static ;) Signed-off-by: Adrian Bunk Signed-off-by: Kristen Carlson Accardi Signed-off-by: Jesse Barnes --- diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 5cadcd0654c..3efb1296290 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c @@ -954,7 +954,7 @@ static struct hpc_ops pciehp_hpc_ops = { }; #ifdef CONFIG_ACPI -int pciehp_acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev) +static int pciehp_acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev) { acpi_status status; acpi_handle chandle, handle = DEVICE_ACPI_HANDLE(&(dev->dev));