summaryrefslogtreecommitdiff
path: root/drivers/dma/at_hdmac.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-11-22 14:55:52 +0400
committerVinod Koul <vinod.koul@linux.intel.com>2011-11-28 14:25:36 +0400
commit0ab88a01832d529c48e2a51f3d24662c143df39a (patch)
treebc2d25082e4b0c8cddd847ee5795beb5d7abaa00 /drivers/dma/at_hdmac.c
parent28c7a19d230228ab9ae61c300c5003a2400fadd3 (diff)
downloadlinux-0ab88a01832d529c48e2a51f3d24662c143df39a.tar.xz
dmaengine: at_hdmac: add const to struct platform_device_id definition
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/at_hdmac.c')
-rw-r--r--drivers/dma/at_hdmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 3b0c28ff4ad6..3b44f24888ea 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -1191,7 +1191,7 @@ static const struct of_device_id atmel_dma_dt_ids[] = {
MODULE_DEVICE_TABLE(of, atmel_dma_dt_ids);
#endif
-static struct platform_device_id atdma_devtypes[] = {
+static const struct platform_device_id atdma_devtypes[] = {
{
.name = "at91sam9rl_dma",
.driver_data = ATDMA_DEVTYPE_SAM9RL,