dmaengine: mxs: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:57:47 +0000 (00:57 +0900)
committerVinod Koul <vinod.koul@intel.com>
Mon, 4 May 2015 11:08:55 +0000 (16:38 +0530)
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>
drivers/dma/mxs-dma.c

index 829ec686dac337bbad7091db38f5271f73bd0ca9..60de35251da5d3950442a310f82f6311ef50783a 100644 (file)
@@ -170,7 +170,7 @@ static struct mxs_dma_type mxs_dma_types[] = {
        }
 };
 
-static struct platform_device_id mxs_dma_ids[] = {
+static const struct platform_device_id mxs_dma_ids[] = {
        {
                .name = "imx23-dma-apbh",
                .driver_data = (kernel_ulong_t) &mxs_dma_types[0],