diff options
| author | Julia Lawall <julia.lawall@lip6.fr> | 2015-11-13 06:46:00 -0500 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2015-11-15 22:57:32 -0500 |
| commit | 2bb129ebb23d2dfec3cd9c22dc7defd681cfcd58 (patch) | |
| tree | f664dcc6cf2a09864a6ff40aedbbe1c0c9a97d71 /drivers/dma/ioat | |
| parent | d3cd63f91b84c60e0b30ee8a45b8f291dac7bbff (diff) | |
dmaengine: ioatdma: constify dca_ops structures
The dca_ops structure is never modified, so declare it as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat')
| -rw-r--r-- | drivers/dma/ioat/dca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/dca.c b/drivers/dma/ioat/dca.c index 2cb7c308d5c7..0b9b6b07db9e 100644 --- a/drivers/dma/ioat/dca.c +++ b/drivers/dma/ioat/dca.c | |||
| @@ -224,7 +224,7 @@ static u8 ioat_dca_get_tag(struct dca_provider *dca, | |||
| 224 | return tag; | 224 | return tag; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | static struct dca_ops ioat_dca_ops = { | 227 | static const struct dca_ops ioat_dca_ops = { |
| 228 | .add_requester = ioat_dca_add_requester, | 228 | .add_requester = ioat_dca_add_requester, |
| 229 | .remove_requester = ioat_dca_remove_requester, | 229 | .remove_requester = ioat_dca_remove_requester, |
| 230 | .get_tag = ioat_dca_get_tag, | 230 | .get_tag = ioat_dca_get_tag, |
