ALSA: compress_driver.h: include sound/core.h explicitly
authorQais Yousef <qais.yousef@imgtec.com>
Fri, 19 Dec 2014 11:38:30 +0000 (11:38 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Jan 2015 15:50:31 +0000 (16:50 +0100)
commit7b617289b699b5f7e4544bfd2794818cb880b928
tree82aa6a8054d61d5cc6703adee68e33043bc5895f
parent1d69970d27210d18eaf153e04ed697ac7a4f17dc
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>
include/sound/compress_driver.h