PCI: Remove function pcim_intx() prototype from pci.h
authorPhilipp Stanner <phasta@kernel.org>
Thu, 22 May 2025 08:46:27 +0000 (10:46 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 22 May 2025 10:54:04 +0000 (10:54 +0000)
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>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250522084626.150148-2-phasta@kernel.org
drivers/pci/pci.h

index cfc9e71a4d8419905759e361ab434a369a1e8b6b..2dd7fa93d95bed3f4432ea627a12e83bce2f82cb 100644 (file)
@@ -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
  *