[PATCH] PCI: Remove forgotten function prototype

Philipp Stanner posted 1 patch 6 months, 3 weeks ago
drivers/pci/pci.h | 2 --
1 file changed, 2 deletions(-)
[PATCH] PCI: Remove forgotten function prototype
Posted by Philipp Stanner 6 months, 3 weeks ago
The subsystem-internal header pci.h still contains the function
prototype of pcim_intx(), which has since been made public in the global
header.

Remove the redundant function prototype.

Signed-off-by: Philipp Stanner <phasta@kernel.org>
---
 drivers/pci/pci.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index cfc9e71a4d84..2dd7fa93d95b 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -1059,8 +1059,6 @@ static inline pci_power_t mid_pci_get_power_state(struct pci_dev *pdev)
 }
 #endif
 
-int pcim_intx(struct pci_dev *dev, int enable);
-
 /*
  * Config Address for PCI Configuration Mechanism #1
  *
-- 
2.49.0
Re: [PATCH] PCI: Remove forgotten function prototype
Posted by Krzysztof Wilczyński 6 months, 3 weeks ago
Hello,

> The subsystem-internal header pci.h still contains the function
> prototype of pcim_intx(), which has since been made public in the global
> header.
> 
> Remove the redundant function prototype.
> 
> 
> [...]

Applied to devres, thank you!

[1/1] PCI: Remove forgotten function prototype
      https://git.kernel.org/pci/pci/c/dfc970ad6197

	Krzysztof