mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
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 <bunk@kernel.org> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
2aeeef1199
commit
4ea3e58b22
@ -954,7 +954,7 @@ static struct hpc_ops pciehp_hpc_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
#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_status status;
|
||||||
acpi_handle chandle, handle = DEVICE_ACPI_HANDLE(&(dev->dev));
|
acpi_handle chandle, handle = DEVICE_ACPI_HANDLE(&(dev->dev));
|
||||||
|
Loading…
Reference in New Issue
Block a user