Re: [PATCH] fix duplicate include in emu10k1.h

From: Takashi Iwai
Date: Thu Feb 26 2009 - 04:04:24 EST


At Thu, 26 Feb 2009 09:57:27 +0100,
Arnd Bergmann wrote:
>
> The earlier patch 'make most exported headers use strict integer types'
> accidentally includes <types.h> both from the common and from the
> kernel-only parts.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

To both patches (better merged, though),
Acked-by: Takashi Iwai <tiwai@xxxxxxx>


Thanks!

Takashi
>
> ---
> On Thursday 26 February 2009, you wrote:
>
> > > @@ -34,6 +36,8 @@
> > > #include <sound/timer.h>
> > > #include <linux/interrupt.h>
> > > #include <linux/mutex.h>
> > > +#include <linux/types.h>
> > > +
> >
> > Isn't the second inclusion superfluous?
> >
> Yes, I must have introduced the second one first, but in the
> wrong section (kernel only), and then didn't notice it when
> introducing it again to fix headers_check.
>
> --- a/include/sound/emu10k1.h
> +++ b/include/sound/emu10k1.h
> @@ -36,7 +36,6 @@
> #include <sound/timer.h>
> #include <linux/interrupt.h>
> #include <linux/mutex.h>
> -#include <linux/types.h>
>
> #include <asm/io.h>
>
>
--
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/