[alsa-devel] [PATCH] ALSA: compress_driver.h: include sound/core.h explicitly

Takashi Iwai tiwai at suse.de
Tue Jan 13 17:22:13 CET 2015


At Tue, 13 Jan 2015 20:15:49 +0530,
Vinod Koul wrote:
> 
> On Tue, Jan 13, 2015 at 11:42:07AM +0000, Qais Yousef wrote:
> > Ping
> > 
> > On 12/19/2014 11:38 AM, Qais Yousef wrote:
> > >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 at imgtec.com>
> > >Cc: Vinod Koul <vinod.koul at intel.com>
> > >Cc: Jaroslav Kysela <perex at perex.cz>
> > >Cc: Takashi Iwai <tiwai at suse.de>
> > >Cc: linux-kernel at vger.kernel.org
> > >
> Looks okay to me
> 
> Acked-by: Vinod Koul <vinod.koul at intel.com>

Applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list