diff options
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 1 | ||||
-rw-r--r-- | include/sound/soc.h | 9 |
2 files changed, 4 insertions, 6 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 44a30b108683..d4609029f014 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
@@ -566,7 +566,6 @@ struct snd_soc_dapm_update { | |||
566 | 566 | ||
567 | /* DAPM context */ | 567 | /* DAPM context */ |
568 | struct snd_soc_dapm_context { | 568 | struct snd_soc_dapm_context { |
569 | int n_widgets; /* number of widgets in this context */ | ||
570 | enum snd_soc_bias_level bias_level; | 569 | enum snd_soc_bias_level bias_level; |
571 | enum snd_soc_bias_level suspend_bias_level; | 570 | enum snd_soc_bias_level suspend_bias_level; |
572 | struct delayed_work delayed_work; | 571 | struct delayed_work delayed_work; |
diff --git a/include/sound/soc.h b/include/sound/soc.h index 44c9cbdc9fa2..9eb0e4db4835 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -373,7 +373,7 @@ int snd_soc_suspend(struct device *dev); | |||
373 | int snd_soc_resume(struct device *dev); | 373 | int snd_soc_resume(struct device *dev); |
374 | int snd_soc_poweroff(struct device *dev); | 374 | int snd_soc_poweroff(struct device *dev); |
375 | int snd_soc_register_platform(struct device *dev, | 375 | int snd_soc_register_platform(struct device *dev, |
376 | struct snd_soc_platform_driver *platform_drv); | 376 | const struct snd_soc_platform_driver *platform_drv); |
377 | void snd_soc_unregister_platform(struct device *dev); | 377 | void snd_soc_unregister_platform(struct device *dev); |
378 | int snd_soc_register_codec(struct device *dev, | 378 | int snd_soc_register_codec(struct device *dev, |
379 | const struct snd_soc_codec_driver *codec_drv, | 379 | const struct snd_soc_codec_driver *codec_drv, |
@@ -807,10 +807,10 @@ struct snd_soc_platform_driver { | |||
807 | struct snd_soc_dai *); | 807 | struct snd_soc_dai *); |
808 | 808 | ||
809 | /* platform stream pcm ops */ | 809 | /* platform stream pcm ops */ |
810 | struct snd_pcm_ops *ops; | 810 | const struct snd_pcm_ops *ops; |
811 | 811 | ||
812 | /* platform stream compress ops */ | 812 | /* platform stream compress ops */ |
813 | struct snd_compr_ops *compr_ops; | 813 | const struct snd_compr_ops *compr_ops; |
814 | 814 | ||
815 | /* platform stream completion event */ | 815 | /* platform stream completion event */ |
816 | int (*stream_event)(struct snd_soc_dapm_context *dapm, int event); | 816 | int (*stream_event)(struct snd_soc_dapm_context *dapm, int event); |
@@ -829,7 +829,7 @@ struct snd_soc_platform { | |||
829 | const char *name; | 829 | const char *name; |
830 | int id; | 830 | int id; |
831 | struct device *dev; | 831 | struct device *dev; |
832 | struct snd_soc_platform_driver *driver; | 832 | const struct snd_soc_platform_driver *driver; |
833 | struct mutex mutex; | 833 | struct mutex mutex; |
834 | 834 | ||
835 | unsigned int suspended:1; /* platform is suspended */ | 835 | unsigned int suspended:1; /* platform is suspended */ |
@@ -1106,7 +1106,6 @@ struct soc_enum { | |||
1106 | unsigned int mask; | 1106 | unsigned int mask; |
1107 | const char * const *texts; | 1107 | const char * const *texts; |
1108 | const unsigned int *values; | 1108 | const unsigned int *values; |
1109 | void *dapm; | ||
1110 | }; | 1109 | }; |
1111 | 1110 | ||
1112 | /* codec IO */ | 1111 | /* codec IO */ |