lkml.org 
[lkml]   [2009]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] fix duplicate include in emu10k1.h
Date
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@arndb.de>

---
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>


\
 
 \ /
  Last update: 2009-02-26 10:01    [W:0.153 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site