diff options
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 7d53cc453637..0eea08e1bdd5 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -265,7 +265,7 @@ int snd_soc_register_platform(struct device *dev, | |||
265 | struct snd_soc_platform_driver *platform_drv); | 265 | struct snd_soc_platform_driver *platform_drv); |
266 | void snd_soc_unregister_platform(struct device *dev); | 266 | void snd_soc_unregister_platform(struct device *dev); |
267 | int snd_soc_register_codec(struct device *dev, | 267 | int snd_soc_register_codec(struct device *dev, |
268 | struct snd_soc_codec_driver *codec_drv, | 268 | const struct snd_soc_codec_driver *codec_drv, |
269 | struct snd_soc_dai_driver *dai_drv, int num_dai); | 269 | struct snd_soc_dai_driver *dai_drv, int num_dai); |
270 | void snd_soc_unregister_codec(struct device *dev); | 270 | void snd_soc_unregister_codec(struct device *dev); |
271 | int snd_soc_codec_volatile_register(struct snd_soc_codec *codec, int reg); | 271 | int snd_soc_codec_volatile_register(struct snd_soc_codec *codec, int reg); |
@@ -453,7 +453,7 @@ struct snd_soc_codec { | |||
453 | const char *name_prefix; | 453 | const char *name_prefix; |
454 | int id; | 454 | int id; |
455 | struct device *dev; | 455 | struct device *dev; |
456 | struct snd_soc_codec_driver *driver; | 456 | const struct snd_soc_codec_driver *driver; |
457 | 457 | ||
458 | struct mutex mutex; | 458 | struct mutex mutex; |
459 | struct snd_soc_card *card; | 459 | struct snd_soc_card *card; |