diff options
author | Krzysztof Wilczyński <kw@linux.com> | 2021-07-01 18:43:06 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-07-01 15:32:45 -0500 |
commit | 6d71cc4c91d856f05d9f175fba866616dd1a7d1f (patch) | |
tree | 16ff600937af7e0ff8f92ed67185a08668518215 /drivers/pci/pcie | |
parent | PCI: pciehp: Ignore Link Down/Up caused by DPC (diff) | |
download | linux-dev-6d71cc4c91d856f05d9f175fba866616dd1a7d1f.tar.xz linux-dev-6d71cc4c91d856f05d9f175fba866616dd1a7d1f.zip |
PCI: cpcihp: Declare cpci_debug in header file
cpci_debug is declared as a global variable in cpci_hotplug_core.c and used
in cpci_hotplug_pci.c via an "extern". Add an extern declaration in the
header file.
Resolves the following sparse warning:
drivers/pci/hotplug/cpci_hotplug_core.c:47:5: warning: symbol 'cpci_debug' was not declared. Should it be static?
Link: https://lore.kernel.org/r/20210701184306.1492003-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie')
0 files changed, 0 insertions, 0 deletions