summaryrefslogtreecommitdiffstats
path: root/drivers/dma/k3dma.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 20:17:14 +0100
committerVinod Koul <vinod.koul@intel.com>2015-03-18 17:43:14 +0100
commit57c0342239b028db54741209a051a4d5f7c857e7 (patch)
treebe67cdc257b33e5b649e0d1137d9ab12e29ffba6 /drivers/dma/k3dma.c
parentdmaengine: imx-sdma: Add support for version 3 firmware (diff)
downloadlinux-57c0342239b028db54741209a051a4d5f7c857e7.tar.xz
linux-57c0342239b028db54741209a051a4d5f7c857e7.zip
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/k3dma.c')
-rw-r--r--drivers/dma/k3dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c
index 6f7f43529ccb..3ac9256ce87e 100644
--- a/drivers/dma/k3dma.c
+++ b/drivers/dma/k3dma.c
@@ -654,7 +654,7 @@ static void k3_dma_free_desc(struct virt_dma_desc *vd)
kfree(ds);
}
-static struct of_device_id k3_pdma_dt_ids[] = {
+static const struct of_device_id k3_pdma_dt_ids[] = {
{ .compatible = "hisilicon,k3-dma-1.0", },
{}
};