[alsa-devel] [PATCH v3 4/6] core: add API header and driver header files

Vinod Koul vinod.koul at linux.intel.com
Tue Dec 13 07:31:30 CET 2011


On Tue, 2011-12-13 at 14:11 +0800, Mark Brown wrote:
> On Mon, Dec 05, 2011 at 01:09:49PM +0530, Vinod Koul wrote:
> 
> > +static inline void snd_compr_fragment_elapsed(struct snd_compr_stream *stream)
> > +{
> > +	wake_up(&stream->runtime->sleep);
> > +}
> 
> You need to include sched.h for this.
Hmmm, I have a different POV for these.
I would like driver to include the sched.h here and this not be in
header file.

While at it, am not really religious about this, so open to counter
argument :)

-- 
~Vinod



More information about the Alsa-devel mailing list