aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-17 09:18:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-17 09:18:06 -0400
commit8b1b054f6be2c3f94bf027ad37bc85d9ec67677f (patch)
tree92b54eaf7e6126a8b6d7544bcf972d63decd0823 /include/sound
parent7c1c1d4a7b4ca1266057a3632d27450f5575caf9 (diff)
parent379cf39781fdb34c75bab6ac54707bc4466f3dc4 (diff)
Merge branch 'topic/core' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-dma
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dapm.h1
-rw-r--r--include/sound/soc.h9
2 files changed, 4 insertions, 6 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index e1ef63d4a5c4..d4c004929ae5 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -565,7 +565,6 @@ struct snd_soc_dapm_update {
565 565
566/* DAPM context */ 566/* DAPM context */
567struct snd_soc_dapm_context { 567struct snd_soc_dapm_context {
568 int n_widgets; /* number of widgets in this context */
569 enum snd_soc_bias_level bias_level; 568 enum snd_soc_bias_level bias_level;
570 enum snd_soc_bias_level suspend_bias_level; 569 enum snd_soc_bias_level suspend_bias_level;
571 struct delayed_work delayed_work; 570 struct delayed_work delayed_work;
diff --git a/include/sound/soc.h b/include/sound/soc.h
index a6a059ca3874..f619905f0a65 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -371,7 +371,7 @@ int snd_soc_suspend(struct device *dev);
371int snd_soc_resume(struct device *dev); 371int snd_soc_resume(struct device *dev);
372int snd_soc_poweroff(struct device *dev); 372int snd_soc_poweroff(struct device *dev);
373int snd_soc_register_platform(struct device *dev, 373int snd_soc_register_platform(struct device *dev,
374 struct snd_soc_platform_driver *platform_drv); 374 const struct snd_soc_platform_driver *platform_drv);
375void snd_soc_unregister_platform(struct device *dev); 375void snd_soc_unregister_platform(struct device *dev);
376int snd_soc_register_codec(struct device *dev, 376int snd_soc_register_codec(struct device *dev,
377 const struct snd_soc_codec_driver *codec_drv, 377 const struct snd_soc_codec_driver *codec_drv,
@@ -801,10 +801,10 @@ struct snd_soc_platform_driver {
801 struct snd_soc_dai *); 801 struct snd_soc_dai *);
802 802
803 /* platform stream pcm ops */ 803 /* platform stream pcm ops */
804 struct snd_pcm_ops *ops; 804 const struct snd_pcm_ops *ops;
805 805
806 /* platform stream compress ops */ 806 /* platform stream compress ops */
807 struct snd_compr_ops *compr_ops; 807 const struct snd_compr_ops *compr_ops;
808 808
809 /* platform stream completion event */ 809 /* platform stream completion event */
810 int (*stream_event)(struct snd_soc_dapm_context *dapm, int event); 810 int (*stream_event)(struct snd_soc_dapm_context *dapm, int event);
@@ -823,7 +823,7 @@ struct snd_soc_platform {
823 const char *name; 823 const char *name;
824 int id; 824 int id;
825 struct device *dev; 825 struct device *dev;
826 struct snd_soc_platform_driver *driver; 826 const struct snd_soc_platform_driver *driver;
827 struct mutex mutex; 827 struct mutex mutex;
828 828
829 unsigned int suspended:1; /* platform is suspended */ 829 unsigned int suspended:1; /* platform is suspended */
@@ -1086,7 +1086,6 @@ struct soc_enum {
1086 unsigned int mask; 1086 unsigned int mask;
1087 const char * const *texts; 1087 const char * const *texts;
1088 const unsigned int *values; 1088 const unsigned int *values;
1089 void *dapm;
1090}; 1089};
1091 1090
1092/* codec IO */ 1091/* codec IO */