diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 12:48:57 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-22 14:02:56 -0400 |
commit | 6ffa84df2b26b1ba78f6a55b373b9513c93017d6 (patch) | |
tree | 65f0572ab8fffd6c480298e6cd760b0e7d39f983 | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) |
ASoC: fsl: constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_ac97.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_i2s.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/pcm030-audio-fabric.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c index 08d2a8069b0a..0bab76051fd8 100644 --- a/sound/soc/fsl/mpc5200_psc_ac97.c +++ b/sound/soc/fsl/mpc5200_psc_ac97.c | |||
@@ -326,7 +326,7 @@ static int psc_ac97_of_remove(struct platform_device *op) | |||
326 | } | 326 | } |
327 | 327 | ||
328 | /* Match table for of_platform binding */ | 328 | /* Match table for of_platform binding */ |
329 | static struct of_device_id psc_ac97_match[] = { | 329 | static const struct of_device_id psc_ac97_match[] = { |
330 | { .compatible = "fsl,mpc5200-psc-ac97", }, | 330 | { .compatible = "fsl,mpc5200-psc-ac97", }, |
331 | { .compatible = "fsl,mpc5200b-psc-ac97", }, | 331 | { .compatible = "fsl,mpc5200b-psc-ac97", }, |
332 | {} | 332 | {} |
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c index 51fb0c00fe73..d8232943ccb6 100644 --- a/sound/soc/fsl/mpc5200_psc_i2s.c +++ b/sound/soc/fsl/mpc5200_psc_i2s.c | |||
@@ -217,7 +217,7 @@ static int psc_i2s_of_remove(struct platform_device *op) | |||
217 | } | 217 | } |
218 | 218 | ||
219 | /* Match table for of_platform binding */ | 219 | /* Match table for of_platform binding */ |
220 | static struct of_device_id psc_i2s_match[] = { | 220 | static const struct of_device_id psc_i2s_match[] = { |
221 | { .compatible = "fsl,mpc5200-psc-i2s", }, | 221 | { .compatible = "fsl,mpc5200-psc-i2s", }, |
222 | { .compatible = "fsl,mpc5200b-psc-i2s", }, | 222 | { .compatible = "fsl,mpc5200b-psc-i2s", }, |
223 | {} | 223 | {} |
diff --git a/sound/soc/fsl/pcm030-audio-fabric.c b/sound/soc/fsl/pcm030-audio-fabric.c index c44459d24c50..ec731223cab3 100644 --- a/sound/soc/fsl/pcm030-audio-fabric.c +++ b/sound/soc/fsl/pcm030-audio-fabric.c | |||
@@ -113,7 +113,7 @@ static int pcm030_fabric_remove(struct platform_device *op) | |||
113 | return ret; | 113 | return ret; |
114 | } | 114 | } |
115 | 115 | ||
116 | static struct of_device_id pcm030_audio_match[] = { | 116 | static const struct of_device_id pcm030_audio_match[] = { |
117 | { .compatible = "phytec,pcm030-audio-fabric", }, | 117 | { .compatible = "phytec,pcm030-audio-fabric", }, |
118 | {} | 118 | {} |
119 | }; | 119 | }; |