diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-06-02 15:56:55 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-01-27 09:37:40 -0600 |
commit | 1423de718e6a0ce00372ab119fa40060ff50883e (patch) | |
tree | 6de7bf493a629ceb5161be73b154e6c5756869bf /drivers | |
parent | 7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff) | |
download | linux-stable-1423de718e6a0ce00372ab119fa40060ff50883e.tar.gz linux-stable-1423de718e6a0ce00372ab119fa40060ff50883e.tar.bz2 linux-stable-1423de718e6a0ce00372ab119fa40060ff50883e.zip |
PCI/ACPI: Make acpi_pci_osc_control_set() static
acpi_pci_osc_control_set() is only called from pci_root.c, so stop
exporting it and make it static.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/pci_root.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index 0bf072cef6cf..7d5a4bd4207c 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c @@ -353,7 +353,7 @@ EXPORT_SYMBOL_GPL(acpi_get_pci_dev); * _OSC bits the BIOS has granted control of, but its contents are meaningless * on failure. **/ -acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 *mask, u32 req) +static acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 *mask, u32 req) { struct acpi_pci_root *root; acpi_status status = AE_OK; @@ -406,7 +406,6 @@ out: mutex_unlock(&osc_lock); return status; } -EXPORT_SYMBOL(acpi_pci_osc_control_set); static void negotiate_os_control(struct acpi_pci_root *root, int *no_aspm, bool is_pcie) |