dmaengine: ioatdma: constify dca_ops structures
authorJulia Lawall <julia.lawall@lip6.fr>
Fri, 13 Nov 2015 11:46:00 +0000 (12:46 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Nov 2015 03:57:32 +0000 (09:27 +0530)
commit2bb129ebb23d2dfec3cd9c22dc7defd681cfcd58
treef664dcc6cf2a09864a6ff40aedbbe1c0c9a97d71
parentd3cd63f91b84c60e0b30ee8a45b8f291dac7bbff
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>
drivers/dca/dca-core.c
drivers/dma/ioat/dca.c
include/linux/dca.h