Commit afe7cded authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Vinod Koul

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: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 577d2e06
...@@ -193,7 +193,7 @@ struct imxdma_filter_data { ...@@ -193,7 +193,7 @@ struct imxdma_filter_data {
int request; int request;
}; };
static struct platform_device_id imx_dma_devtype[] = { static const struct platform_device_id imx_dma_devtype[] = {
{ {
.name = "imx1-dma", .name = "imx1-dma",
.driver_data = IMX1_DMA, .driver_data = IMX1_DMA,
......
...@@ -420,7 +420,7 @@ static struct sdma_driver_data sdma_imx6q = { ...@@ -420,7 +420,7 @@ static struct sdma_driver_data sdma_imx6q = {
.script_addrs = &sdma_script_imx6q, .script_addrs = &sdma_script_imx6q,
}; };
static struct platform_device_id sdma_devtypes[] = { static const struct platform_device_id sdma_devtypes[] = {
{ {
.name = "imx25-sdma", .name = "imx25-sdma",
.driver_data = (unsigned long)&sdma_imx25, .driver_data = (unsigned long)&sdma_imx25,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment