Content-Type: multipart/mixed; boundary="===============0061904356138879972==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] PCI: VMD: ACPI: pci_acpi_companion_lookup_key can be static Date: Sat, 21 Aug 2021 05:06:10 +0800 Message-ID: <20210820210610.GA23698@ef1ee8e5bb1c> In-Reply-To: <11834551.O9o76ZdvQC@kreacher> List-Id: --===============0061904356138879972== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/pci/pci-acpi.c:1164:1: warning: symbol 'pci_acpi_companion_lookup_k= ey' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- pci-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 535f43034a073..c8718aeafae5d 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -1161,7 +1161,7 @@ void acpi_pci_remove_bus(struct pci_bus *bus) /* ACPI bus type */ = = -DEFINE_STATIC_KEY_FALSE(pci_acpi_companion_lookup_key); +static DEFINE_STATIC_KEY_FALSE(pci_acpi_companion_lookup_key); static DEFINE_MUTEX(pci_acpi_companion_lookup_mtx); static struct acpi_device *(*pci_acpi_find_companion_hook)(struct pci_dev = *); =20 --===============0061904356138879972==--