Re: [PATCH] ALSA: compress_driver.h: include sound/core.h explicitly

From: Takashi Iwai
Date: Tue Jan 13 2015 - 11:22:20 EST


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@xxxxxxxxxx>
> > >Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
> > >Cc: Jaroslav Kysela <perex@xxxxxxxx>
> > >Cc: Takashi Iwai <tiwai@xxxxxxx>
> > >Cc: linux-kernel@xxxxxxxxxxxxxxx
> > >
> Looks okay to me
>
> Acked-by: Vinod Koul <vinod.koul@xxxxxxxxx>

Applied now. Thanks.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/