summaryrefslogtreecommitdiff
path: root/drivers/ide/trm290.c
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2015-11-15 21:36:30 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-18 14:12:33 -0500
commitb5a608fb28c84ef3e569b6929e58977f4e2ce480 (patch)
tree3d7393a163b6f9b967b99e81dfe9048715108a97 /drivers/ide/trm290.c
parent0860bf94712f34f5920193004dfed25408f078b1 (diff)
ide: constify ide_dma_ops structures
The ide_dma_ops structures are never modified, so declare these as const, as is already done for the others. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/trm290.c')
-rw-r--r--drivers/ide/trm290.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/trm290.c b/drivers/ide/trm290.c
index 0069f6ce74cf..d550b379b0f1 100644
--- a/drivers/ide/trm290.c
+++ b/drivers/ide/trm290.c
@@ -314,7 +314,7 @@ static const struct ide_tp_ops trm290_tp_ops = {
.output_data = ide_output_data,
};
-static struct ide_dma_ops trm290_dma_ops = {
+static const struct ide_dma_ops trm290_dma_ops = {
.dma_host_set = trm290_dma_host_set,
.dma_setup = trm290_dma_setup,
.dma_start = trm290_dma_start,