]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add pci_set_acpi_fwnode() to set ACPI_COMPANION
authorShanker Donthineni <sdonthineni@nvidia.com>
Tue, 17 Aug 2021 18:04:57 +0000 (23:34 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Aug 2021 22:04:29 +0000 (17:04 -0500)
commit1980cb23c61d580c3e42e257f9e99351cd621a3a
treea9bfdca77776f8e4702ee56f8b3ac2498e493f80
parent009f22520a96d9c284a3108ea00843c149d2e46e
PCI: Add pci_set_acpi_fwnode() to set ACPI_COMPANION

Move the existing logic from acpi_pci_bridge_d3() to a separate function
pci_set_acpi_fwnode() to set the ACPI fwnode.  No functional change
intended.

Link: https://lore.kernel.org/r/20210817180500.1253-7-ameynarkhede03@gmail.com
Signed-off-by: Shanker Donthineni <sdonthineni@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
drivers/pci/pci-acpi.c
drivers/pci/pci.h