diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-01 17:57:46 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-05-04 13:08:55 +0200 |
commit | afe7cded998fff62759c214cda8785cd874b6114 (patch) | |
tree | a5a0ba34856885a7c02c456f7a748758e03f0790 /drivers/dma/imx-dma.c | |
parent | dmaengine: ep93xx: Constify platform_device_id (diff) | |
download | linux-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-dma.c')
-rw-r--r-- | drivers/dma/imx-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index eed405976ea9..865501fcc67d 100644 --- a/drivers/dma/imx-dma.c +++ b/drivers/dma/imx-dma.c @@ -193,7 +193,7 @@ struct imxdma_filter_data { int request; }; -static struct platform_device_id imx_dma_devtype[] = { +static const struct platform_device_id imx_dma_devtype[] = { { .name = "imx1-dma", .driver_data = IMX1_DMA, |