aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/bestcomm
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 15:17:14 -0400
committerVinod Koul <vinod.koul@intel.com>2015-03-18 12:43:14 -0400
commit57c0342239b028db54741209a051a4d5f7c857e7 (patch)
treebe67cdc257b33e5b649e0d1137d9ab12e29ffba6 /drivers/dma/bestcomm
parenta572460be9cfb423c60275943f7921003b8cd372 (diff)
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/bestcomm')
-rw-r--r--drivers/dma/bestcomm/bestcomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/bestcomm/bestcomm.c b/drivers/dma/bestcomm/bestcomm.c
index fa378d88f6c8..180fedb418cc 100644
--- a/drivers/dma/bestcomm/bestcomm.c
+++ b/drivers/dma/bestcomm/bestcomm.c
@@ -30,7 +30,7 @@
30#define DRIVER_NAME "bestcomm-core" 30#define DRIVER_NAME "bestcomm-core"
31 31
32/* MPC5200 device tree match tables */ 32/* MPC5200 device tree match tables */
33static struct of_device_id mpc52xx_sram_ids[] = { 33static const struct of_device_id mpc52xx_sram_ids[] = {
34 { .compatible = "fsl,mpc5200-sram", }, 34 { .compatible = "fsl,mpc5200-sram", },
35 { .compatible = "mpc5200-sram", }, 35 { .compatible = "mpc5200-sram", },
36 {} 36 {}
@@ -481,7 +481,7 @@ static int mpc52xx_bcom_remove(struct platform_device *op)
481 return 0; 481 return 0;
482} 482}
483 483
484static struct of_device_id mpc52xx_bcom_of_match[] = { 484static const struct of_device_id mpc52xx_bcom_of_match[] = {
485 { .compatible = "fsl,mpc5200-bestcomm", }, 485 { .compatible = "fsl,mpc5200-bestcomm", },
486 { .compatible = "mpc5200-bestcomm", }, 486 { .compatible = "mpc5200-bestcomm", },
487 {}, 487 {},