diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 15:01:30 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:30:24 -0400 |
commit | 345d852391cf3fdc73f23a9ca522c6e7b5eb5a52 (patch) | |
tree | a029ab0c4e66a6ea7c7a7b76c06bcffe92fab5e8 /drivers/dma/ioat/dma.h | |
parent | f6ab95b55735fa03cad8d0f966647e5df206e207 (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.h')
-rw-r--r-- | drivers/dma/ioat/dma.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/dma/ioat/dma.h b/drivers/dma/ioat/dma.h index 5fd6e2de84db..e47083b52ee7 100644 --- a/drivers/dma/ioat/dma.h +++ b/drivers/dma/ioat/dma.h | |||
@@ -217,11 +217,12 @@ ioat_chan_by_index(struct ioatdma_device *device, int index) | |||
217 | return device->idx[index]; | 217 | return device->idx[index]; |
218 | } | 218 | } |
219 | 219 | ||
220 | int ioat_probe(struct ioatdma_device *device); | 220 | int __devinit ioat_probe(struct ioatdma_device *device); |
221 | int ioat_register(struct ioatdma_device *device); | 221 | int __devinit ioat_register(struct ioatdma_device *device); |
222 | int ioat1_dma_probe(struct ioatdma_device *dev, int dca); | 222 | int __devinit ioat1_dma_probe(struct ioatdma_device *dev, int dca); |
223 | void ioat_dma_remove(struct ioatdma_device *device); | 223 | void __devexit ioat_dma_remove(struct ioatdma_device *device); |
224 | struct dca_provider *ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase); | 224 | struct dca_provider * __devinit ioat_dca_init(struct pci_dev *pdev, |
225 | void __iomem *iobase); | ||
225 | unsigned long ioat_get_current_completion(struct ioat_chan_common *chan); | 226 | unsigned long ioat_get_current_completion(struct ioat_chan_common *chan); |
226 | void ioat_init_channel(struct ioatdma_device *device, | 227 | void ioat_init_channel(struct ioatdma_device *device, |
227 | struct ioat_chan_common *chan, int idx, | 228 | struct ioat_chan_common *chan, int idx, |