summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 01:00:13 +0900
committerMark Brown <broonie@kernel.org>2015-05-01 17:51:43 +0100
commite51cebf75ab45d9f680a15a120b605244b7ce5ea (patch)
tree25b01e904d7d815d1bf2d91a05f4af663a2f6cd9
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
downloadop-kernel-dev-e51cebf75ab45d9f680a15a120b605244b7ce5ea.zip
op-kernel-dev-e51cebf75ab45d9f680a15a120b605244b7ce5ea.tar.gz
ASoC: fsl: Constify platform_device_id
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>
-rw-r--r--sound/soc/fsl/imx-audmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index d9050d9..fc57da3 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -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,
OpenPOWER on IntegriCloud