diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-10-21 17:25:20 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-10-21 17:27:29 +0300 |
commit | 46b4bff6572b0552b1ee062043621e4b252638d8 (patch) | |
tree | 72acbe13eddeb3d41aea8b79cb3860dc7dc06c14 | |
parent | bacd861452d2be86a4df341b12e32db7dac8021e (diff) | |
download | linux-46b4bff6572b0552b1ee062043621e4b252638d8.tar.xz |
PCI: Fix missing inline for pci_pr3_present()
The inline prefix was missing in the dummy function pci_pr3_present()
definition. Fix it.
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 52525b7a3cf8 ("PCI: Add a helper to check Power Resource Requirements _PR3 existence")
Link: https://lore.kernel.org/r/201910212111.qHm6OcWx%lkp@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 1d15c5d49cdd..be529d311122 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -2314,7 +2314,7 @@ bool pci_pr3_present(struct pci_dev *pdev); #else static inline struct irq_domain * pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; } -static bool pci_pr3_present(struct pci_dev *pdev) { return false; } +static inline bool pci_pr3_present(struct pci_dev *pdev) { return false; } #endif #ifdef CONFIG_EEH |