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

index 24e5290faa320108fb9a48a754c39ac606ed6927..57ff46284f159eabca5c9b6b28320414605d150f 100644 (file)
@@ -1364,7 +1364,7 @@ static int __init ep93xx_dma_probe(struct platform_device *pdev)
        return ret;
 }
 
-static struct platform_device_id ep93xx_dma_driver_ids[] = {
+static const struct platform_device_id ep93xx_dma_driver_ids[] = {
        { "ep93xx-dma-m2p", 0 },
        { "ep93xx-dma-m2m", 1 },
        { },