diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-07 01:27:57 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-09 13:52:22 +0300 |
commit | 57ce3a3c99b21e9c4f951ef01e0a3603c987c259 (patch) | |
tree | c93b4929a48c0e69971a1eb3b4af5f41317a4c1b /drivers | |
parent | cd119b09a87d8beb50356d8c5c6aa42d89c44eb7 (diff) | |
download | linux-57ce3a3c99b21e9c4f951ef01e0a3603c987c259.tar.xz |
PCI/MSI: Make pci_msi_domain_check_cap() static
No users outside of that file.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210224.980989243@linutronix.de
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/msi/irqdomain.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/msi/irqdomain.c b/drivers/pci/msi/irqdomain.c index 123450e715cb..6abd8aff2cea 100644 --- a/drivers/pci/msi/irqdomain.c +++ b/drivers/pci/msi/irqdomain.c @@ -79,8 +79,9 @@ static inline bool pci_msi_desc_is_multi_msi(struct msi_desc *desc) * 1 if Multi MSI is requested, but the domain does not support it * -ENOTSUPP otherwise */ -int pci_msi_domain_check_cap(struct irq_domain *domain, - struct msi_domain_info *info, struct device *dev) +static int pci_msi_domain_check_cap(struct irq_domain *domain, + struct msi_domain_info *info, + struct device *dev) { struct msi_desc *desc = first_pci_msi_entry(to_pci_dev(dev)); |