dmaengine: s3c24xx: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:57:49 +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/s3c24xx-dma.c

index 01dcaf21b98820507cf33ec7b6a5b19e20aea890..17ccdfd28f3702d7de7b0b98299262a36690df85 100644 (file)
@@ -1168,7 +1168,7 @@ static struct soc_data soc_s3c2443 = {
        .has_clocks = true,
 };
 
-static struct platform_device_id s3c24xx_dma_driver_ids[] = {
+static const struct platform_device_id s3c24xx_dma_driver_ids[] = {
        {
                .name           = "s3c2410-dma",
                .driver_data    = (kernel_ulong_t)&soc_s3c2410,