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

index 88b77c98365d882730d8fd5db51066b4dad32aae..2b5a198ac77e483fdf9a0e0479b200935cc4f501 100644 (file)
@@ -1455,7 +1455,7 @@ static int nbpf_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_device_id nbpf_ids[] = {
+static const struct platform_device_id nbpf_ids[] = {
        {"nbpfaxi64dmac1b4",    (kernel_ulong_t)&nbpf_cfg[NBPF1B4]},
        {"nbpfaxi64dmac1b8",    (kernel_ulong_t)&nbpf_cfg[NBPF1B8]},
        {"nbpfaxi64dmac1b16",   (kernel_ulong_t)&nbpf_cfg[NBPF1B16]},