summaryrefslogtreecommitdiff
path: root/drivers/dma/mv_xor.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 22:17:14 +0300
committerVinod Koul <vinod.koul@intel.com>2015-03-18 19:43:14 +0300
commit57c0342239b028db54741209a051a4d5f7c857e7 (patch)
treebe67cdc257b33e5b649e0d1137d9ab12e29ffba6 /drivers/dma/mv_xor.c
parenta572460be9cfb423c60275943f7921003b8cd372 (diff)
downloadlinux-57c0342239b028db54741209a051a4d5f7c857e7.tar.xz
dmaengine: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mv_xor.c')
-rw-r--r--drivers/dma/mv_xor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index 5ef567ee335b..1c56001df676 100644
--- a/drivers/dma/mv_xor.c
+++ b/drivers/dma/mv_xor.c
@@ -1245,7 +1245,7 @@ static int mv_xor_remove(struct platform_device *pdev)
}
#ifdef CONFIG_OF
-static struct of_device_id mv_xor_dt_ids[] = {
+static const struct of_device_id mv_xor_dt_ids[] = {
{ .compatible = "marvell,orion-xor", },
{},
};