blob: 60370665441166dbc16402fadaf2f44877a32e97 [file] [log] [blame]
From 74554f9e49ca70dab8655a463bfd3961cb251872 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 21 Oct 2019 16:25:20 +0200
Subject: [PATCH] PCI: Fix missing inline for pci_pr3_present()
commit 46b4bff6572b0552b1ee062043621e4b252638d8 upstream.
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ab2a5a377cbd..6a5039d251b8 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2292,7 +2292,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
--
2.7.4