diff options
Diffstat (limited to 'drivers/dma/ioat/pci.c')
-rw-r--r-- | drivers/dma/ioat/pci.c | 9 |
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 | }; |
110 | MODULE_DEVICE_TABLE(pci, ioat_pci_tbl); | 110 | MODULE_DEVICE_TABLE(pci, ioat_pci_tbl); |
111 | 111 | ||
112 | static int __devinit ioat_pci_probe(struct pci_dev *pdev, | 112 | static int ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id); |
113 | const struct pci_device_id *id); | 113 | static void ioat_remove(struct pci_dev *pdev); |
114 | static void __devexit ioat_remove(struct pci_dev *pdev); | ||
115 | 114 | ||
116 | static int ioat_dca_enabled = 1; | 115 | static int ioat_dca_enabled = 1; |
117 | module_param(ioat_dca_enabled, int, 0644); | 116 | module_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 | ||
144 | static int __devinit ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 143 | static 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 | ||
198 | static void __devexit ioat_remove(struct pci_dev *pdev) | 197 | static 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 | ||