diff mbox series

[v2,2/3] ASoC: dapm: declare missing structure prototypes

Message ID 20200625153543.85039-3-tzungbi@google.com
State Accepted
Commit 3d62ef4280a377bb2ccaee4e8f6c5093f5b8f9d4
Headers show
Series ASoC: rt1015: fix compilation errors and warnings | expand

Commit Message

Tzung-Bi Shih June 25, 2020, 3:35 p.m. UTC
To fix compilation warnings:

- struct 'snd_soc_pcm_runtime' declared inside parameter list will not
  be visible outside of this definition or declaration
- struct 'soc_enum' declared inside parameter list will not be visible
  outside of this definition or declaration

Declares the missing structure prototypes.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
---
 include/sound/soc-dapm.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 75467f2ed405..c3039e97929a 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -16,6 +16,8 @@ 
 #include <sound/asoc.h>
 
 struct device;
+struct snd_soc_pcm_runtime;
+struct soc_enum;
 
 /* widget has no PM register bit */
 #define SND_SOC_NOPM	-1