[alsa-devel] [PATCH] ALSA: hda - add explicit include of err.h
Takashi Iwai
tiwai at suse.de
Tue Sep 23 09:46:36 CEST 2014
At Tue, 23 Sep 2014 09:04:49 +0200,
David Henningsson wrote:
>
> Since every caller of snd_hda_jack_detect_enable_callback needs to
> use the macros from err.h, it makes sense to include it directly
> from hda_jack.h.
>
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
Thanks, applied (both).
Takashi
> ---
> sound/pci/hda/hda_jack.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/pci/hda/hda_jack.h b/sound/pci/hda/hda_jack.h
> index b41e0a3..13cb375 100644
> --- a/sound/pci/hda/hda_jack.h
> +++ b/sound/pci/hda/hda_jack.h
> @@ -12,6 +12,8 @@
> #ifndef __SOUND_HDA_JACK_H
> #define __SOUND_HDA_JACK_H
>
> +#include <linux/err.h>
> +
> struct auto_pin_cfg;
> struct hda_jack_tbl;
> struct hda_jack_callback;
> --
> 1.9.1
>
More information about the Alsa-devel
mailing list