summaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 17:57:46 +0200
committerVinod Koul <vinod.koul@intel.com>2015-05-04 13:08:55 +0200
commitafe7cded998fff62759c214cda8785cd874b6114 (patch)
treea5a0ba34856885a7c02c456f7a748758e03f0790 /drivers/dma/imx-sdma.c
parentdmaengine: ep93xx: Constify platform_device_id (diff)
downloadlinux-afe7cded998fff62759c214cda8785cd874b6114.tar.xz
linux-afe7cded998fff62759c214cda8785cd874b6114.zip
dmaengine: imx: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r--drivers/dma/imx-sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 62bbd79338e0..77b6aab04f47 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -420,7 +420,7 @@ static struct sdma_driver_data sdma_imx6q = {
.script_addrs = &sdma_script_imx6q,
};
-static struct platform_device_id sdma_devtypes[] = {
+static const struct platform_device_id sdma_devtypes[] = {
{
.name = "imx25-sdma",
.driver_data = (unsigned long)&sdma_imx25,