aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/ioat/pci.c')
-rw-r--r--drivers/dma/ioat/pci.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c
index bfa9a3536e09..4f686c527ab6 100644
--- a/drivers/dma/ioat/pci.c
+++ b/drivers/dma/ioat/pci.c
@@ -109,9 +109,8 @@ static struct pci_device_id ioat_pci_tbl[] = {
109}; 109};
110MODULE_DEVICE_TABLE(pci, ioat_pci_tbl); 110MODULE_DEVICE_TABLE(pci, ioat_pci_tbl);
111 111
112static int __devinit ioat_pci_probe(struct pci_dev *pdev, 112static int ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id);
113 const struct pci_device_id *id); 113static void ioat_remove(struct pci_dev *pdev);
114static void __devexit ioat_remove(struct pci_dev *pdev);
115 114
116static int ioat_dca_enabled = 1; 115static int ioat_dca_enabled = 1;
117module_param(ioat_dca_enabled, int, 0644); 116module_param(ioat_dca_enabled, int, 0644);
@@ -141,7 +140,7 @@ alloc_ioatdma(struct pci_dev *pdev, void __iomem *iobase)
141 return d; 140 return d;
142} 141}
143 142
144static int __devinit ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) 143static int ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
145{ 144{
146 void __iomem * const *iomap; 145 void __iomem * const *iomap;
147 struct device *dev = &pdev->dev; 146 struct device *dev = &pdev->dev;
@@ -195,7 +194,7 @@ static int __devinit ioat_pci_probe(struct pci_dev *pdev, const struct pci_devic
195 return 0; 194 return 0;
196} 195}
197 196
198static void __devexit ioat_remove(struct pci_dev *pdev) 197static void ioat_remove(struct pci_dev *pdev)
199{ 198{
200 struct ioatdma_device *device = pci_get_drvdata(pdev); 199 struct ioatdma_device *device = pci_get_drvdata(pdev);
201 200