diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 22:17:14 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-03-18 19:43:14 +0300 |
commit | 57c0342239b028db54741209a051a4d5f7c857e7 (patch) | |
tree | be67cdc257b33e5b649e0d1137d9ab12e29ffba6 /drivers/dma/mpc512x_dma.c | |
parent | a572460be9cfb423c60275943f7921003b8cd372 (diff) | |
download | linux-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/mpc512x_dma.c')
-rw-r--r-- | drivers/dma/mpc512x_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c index c66a82ea2559..e6281e7aa46e 100644 --- a/drivers/dma/mpc512x_dma.c +++ b/drivers/dma/mpc512x_dma.c @@ -1068,7 +1068,7 @@ static int mpc_dma_remove(struct platform_device *op) return 0; } -static struct of_device_id mpc_dma_match[] = { +static const struct of_device_id mpc_dma_match[] = { { .compatible = "fsl,mpc5121-dma", }, { .compatible = "fsl,mpc8308-dma", }, {}, |