ASoC: fsl: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 16:00:13 +0000 (01:00 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 1 May 2015 16:51:43 +0000 (17:51 +0100)
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: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmux.c

index d9050d946ae747894ee73c1184791d4ed1dc0b74..fc57da341d6106e029c6766370421b9cdc97e8f5 100644 (file)
@@ -184,7 +184,7 @@ static enum imx_audmux_type {
        IMX31_AUDMUX,
 } audmux_type;
 
-static struct platform_device_id imx_audmux_ids[] = {
+static const struct platform_device_id imx_audmux_ids[] = {
        {
                .name = "imx21-audmux",
                .driver_data = IMX21_AUDMUX,