Skip to contentSkip to conversation

bogus includes cleaning

PATCH New Thierry Vignaud 1 participant 1 message Nov 4, 2002 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bogus includes cleaning

against 2.4.45, not cvs.

linux/config.h is *not* needed for these ones:

linux/config.h is *not* needed for these ones

sound/oss/ad1816.c renamed from sound/oss/ad1816.c.not_needed +0 -1
@@ -32,7 +32,6 @@
  *	Arnaldo Carvalho de Melo: get rid of check_region	2001/10/07
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/isapnp.h>
sound/oss/wavfront.c renamed from sound/oss/wavfront.c.not_needed +0 -1
@@ -78,7 +78,6 @@
 #include <linux/ioport.h>    
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
-#include <linux/config.h>
 
 #include <linux/delay.h>
 
sound/pci/rme9652/hammerfall_mem.c renamed from sound/pci/rme9652/hammerfall_mem.c.not_needed +0 -1
@@ -34,7 +34,6 @@
     
 */
 
-#include <linux/config.h>
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/pci.h>
sound/sparc/amd7930.c renamed from sound/sparc/amd7930.c.not_needed +0 -1
@@ -29,7 +29,6 @@
  * --- End of notes from Thoamas's original driver ---
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>

seq_timer.h is included more than once in sound/core/seq/seq_prioq.c:

seq_timer.h is included more than once.

core/seq/seq_prioq.c renamed from core/seq/seq_prioq.c.inclu +0 -1
@@ -25,7 +25,6 @@
 #include <sound/core.h>
 #include "seq_timer.h"
 #include "seq_prioq.h"
-#include "seq_timer.h"
 
 
 /* Implementation is a simple linked list for now...

sound/oss/i810_audio.c needs linux/init.h for CONFIG_PM:

linux/init.h is needed for CONFIG_P

oss/i810_audio.c renamed from oss/i810_audio.c.tv +1 -0
@@ -78,6 +78,7 @@
 #include <linux/slab.h>
 #include <linux/soundcard.h>
 #include <linux/pci.h>
+#include <linux/config.h>
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <linux/init.h>