summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrett M Russ <russb@emc.com>2005-08-15 19:23:41 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 22:07:08 (GMT)
commita04ce0ffcaf561994ecf382cd3caad75556dc499 (patch)
treee891a767810333fe2bf29ddb35f57b0a3ec6e18e /include/linux
parent3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee (diff)
downloadlinux-fsl-qoriq-a04ce0ffcaf561994ecf382cd3caad75556dc499.tar.xz
[PATCH] PCI/libata INTx cleanup
Simple cleanup to eliminate X copies of the pci_enable_intx() function in libata. Moved ahci.c's pci_intx() to pci.c and use it throughout libata and msi.c. Signed-off-by: Brett Russ <russb@emc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 7004dde..6caaba0 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -383,6 +383,7 @@ void pci_set_master(struct pci_dev *dev);
#define HAVE_PCI_SET_MWI
int pci_set_mwi(struct pci_dev *dev);
void pci_clear_mwi(struct pci_dev *dev);
+void pci_intx(struct pci_dev *dev, int enable);
int pci_set_dma_mask(struct pci_dev *dev, u64 mask);
int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask);
void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno);