Skip to content

Commit 46b4bff

Browse files
committed
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 <[email protected]> Fixes: 52525b7 ("PCI: Add a helper to check Power Resource Requirements _PR3 existence") Link: https://lore.kernel.org/r/201910212111.qHm6OcWx%[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent bacd861 commit 46b4bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/pci.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ bool pci_pr3_present(struct pci_dev *pdev);
23142314
#else
23152315
static inline struct irq_domain *
23162316
pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; }
2317-
static bool pci_pr3_present(struct pci_dev *pdev) { return false; }
2317+
static inline bool pci_pr3_present(struct pci_dev *pdev) { return false; }
23182318
#endif
23192319

23202320
#ifdef CONFIG_EEH

0 commit comments

Comments
 (0)