diff options
author | Qais Yousef <qais.yousef@imgtec.com> | 2014-12-19 06:38:30 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-13 10:50:31 -0500 |
commit | 7b617289b699b5f7e4544bfd2794818cb880b928 (patch) | |
tree | 82aa6a8054d61d5cc6703adee68e33043bc5895f /include/sound/compress_driver.h | |
parent | 1d69970d27210d18eaf153e04ed697ac7a4f17dc (diff) |
ALSA: compress_driver.h: include sound/core.h explicitly
Fixes the following compilation error:
include/sound/compress_driver.h: In function ‘snd_compr_drain_notify’:
include/sound/compress_driver.h:177:2: error: implicit declaration of function ‘snd_BUG_ON’ [-Werror=implicit-function-declaration]
if (snd_BUG_ON(!stream))
snd_BUG_ON() is defined in sound/core.h but the file is not included explicitly,
so include it.
Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/compress_driver.h')
-rw-r--r-- | include/sound/compress_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/compress_driver.h b/include/sound/compress_driver.h index 396e8f73670a..1e2531058b7e 100644 --- a/include/sound/compress_driver.h +++ b/include/sound/compress_driver.h | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
30 | #include <sound/core.h> | ||
30 | #include <sound/compress_offload.h> | 31 | #include <sound/compress_offload.h> |
31 | #include <sound/asound.h> | 32 | #include <sound/asound.h> |
32 | #include <sound/pcm.h> | 33 | #include <sound/pcm.h> |