From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] ALSA: Add missing include of pcm.h to pcm_params.h
Date: Wed, 20 Jun 2012 07:47:25 +0200 [thread overview]
Message-ID: <s5hvcim7cwi.wl%tiwai@suse.de> (raw)
In-Reply-To: <1340130709-2857-1-git-send-email-broonie@opensource.wolfsonmicro.com>
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 <broonie@opensource.wolfsonmicro.com>
> ---
> 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 <sound/pcm.h>
> +
> 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
>
next prev parent reply other threads:[~2012-06-20 5:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 18:31 [PATCH] ALSA: Add missing include of pcm.h to pcm_params.h Mark Brown
2012-06-20 5:47 ` Takashi Iwai [this message]
2012-06-20 9:34 ` Mark Brown
2012-06-20 15:51 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hvcim7cwi.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox