summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sirf-dma.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 22:13:14 +0530
commit57c0342239b028db54741209a051a4d5f7c857e7 (patch)
treebe67cdc257b33e5b649e0d1137d9ab12e29ffba6 /drivers/dma/sirf-dma.c
parenta572460be9cfb423c60275943f7921003b8cd372 (diff)
downloadlinux-57c0342239b028db54741209a051a4d5f7c857e7.tar.gz
linux-57c0342239b028db54741209a051a4d5f7c857e7.tar.bz2
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/sirf-dma.c')
-rw-r--r--drivers/dma/sirf-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c
index d0086e9f2082..a1afda43b8ef 100644
--- a/drivers/dma/sirf-dma.c
+++ b/drivers/dma/sirf-dma.c
@@ -896,7 +896,7 @@ static const struct dev_pm_ops sirfsoc_dma_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(sirfsoc_dma_pm_suspend, sirfsoc_dma_pm_resume)
};
-static struct of_device_id sirfsoc_dma_match[] = {
+static const struct of_device_id sirfsoc_dma_match[] = {
{ .compatible = "sirf,prima2-dmac", },
{ .compatible = "sirf,marco-dmac", },
{},