From: Takashi Iwai Subject: Re: [PATCH] ALSA: Add missing include of pcm.h to pcm_params.h Date: Wed, 20 Jun 2012 07:47:25 +0200 Message-ID: References: <1340130709-2857-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D5A6A244F4 for ; Wed, 20 Jun 2012 07:47:26 +0200 (CEST) In-Reply-To: <1340130709-2857-1-git-send-email-broonie@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 19 Jun 2012 19:31:48 +0100, Mark Brown wrote: > > There's a dependency but no #include. I don't mind to put it, but it wasn't done because we didn't want to let the driver code including only pcm_params.h without pcm.h. Takashi > > Signed-off-by: Mark Brown > --- > include/sound/pcm_params.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/sound/pcm_params.h b/include/sound/pcm_params.h > index f494f1e..37ae12e 100644 > --- a/include/sound/pcm_params.h > +++ b/include/sound/pcm_params.h > @@ -22,6 +22,8 @@ > * > */ > > +#include > + > int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm, > struct snd_pcm_hw_params *params, > snd_pcm_hw_param_t var, int *dir); > -- > 1.7.10 >