aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma_v2.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-09-08 15:01:30 -0400
committerDan Williams <dan.j.williams@intel.com>2009-09-08 20:30:24 -0400
commit345d852391cf3fdc73f23a9ca522c6e7b5eb5a52 (patch)
treea029ab0c4e66a6ea7c7a7b76c06bcffe92fab5e8 /drivers/dma/ioat/dma_v2.c
parentf6ab95b55735fa03cad8d0f966647e5df206e207 (diff)
ioat: ___devinit annotate the initialization paths
Mark all single use initialization routines with __devinit. Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/dma_v2.c')
-rw-r--r--drivers/dma/ioat/dma_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c
index 2f34f290041e..1aa2974e7a93 100644
--- a/drivers/dma/ioat/dma_v2.c
+++ b/drivers/dma/ioat/dma_v2.c
@@ -683,7 +683,7 @@ ioat2_is_complete(struct dma_chan *c, dma_cookie_t cookie,
683 return ioat_is_complete(c, cookie, done, used); 683 return ioat_is_complete(c, cookie, done, used);
684} 684}
685 685
686int ioat2_dma_probe(struct ioatdma_device *device, int dca) 686int __devinit ioat2_dma_probe(struct ioatdma_device *device, int dca)
687{ 687{
688 struct pci_dev *pdev = device->pdev; 688 struct pci_dev *pdev = device->pdev;
689 struct dma_device *dma; 689 struct dma_device *dma;
@@ -722,7 +722,7 @@ int ioat2_dma_probe(struct ioatdma_device *device, int dca)
722 return err; 722 return err;
723} 723}
724 724
725int ioat3_dma_probe(struct ioatdma_device *device, int dca) 725int __devinit ioat3_dma_probe(struct ioatdma_device *device, int dca)
726{ 726{
727 struct pci_dev *pdev = device->pdev; 727 struct pci_dev *pdev = device->pdev;
728 struct dma_device *dma; 728 struct dma_device *dma;