[PATCH 6/7] PCI: Remove unnecessary prototype from pci.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pcim_intx() once was an internal PCI function, but since then has been
published and is used by drivers, and, therefore, available in
include/linux/pci.h. The function is not used within PCI anymore.

Remove pcim_intx()'s prototype from drivers/pci/pci.h

Signed-off-by: Philipp Stanner <phasta@xxxxxxxxxx>
---
 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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux