aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-05-08 03:28:08 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:07 -0400
commite63340ae6b6205fef26b40a75673d1c9c0c8bb90 (patch)
tree8d3212705515edec73c3936bb9e23c71d34a7b41 /sound/oss
parent04c9167f91e309c9c4ea982992aa08e83b2eb42e (diff)
header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed. Suggested by Al Viro. Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc, sparc64, and arm (all 59 defconfigs). Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/swarm_cs4297a.c1
-rw-r--r--sound/oss/trident.c1
-rw-r--r--sound/oss/via82cxxx_audio.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sound/oss/swarm_cs4297a.c b/sound/oss/swarm_cs4297a.c
index 016b918329ad..a8057f259553 100644
--- a/sound/oss/swarm_cs4297a.c
+++ b/sound/oss/swarm_cs4297a.c
@@ -75,7 +75,6 @@
75#include <linux/interrupt.h> 75#include <linux/interrupt.h>
76#include <linux/init.h> 76#include <linux/init.h>
77#include <linux/poll.h> 77#include <linux/poll.h>
78#include <linux/smp_lock.h>
79#include <linux/mutex.h> 78#include <linux/mutex.h>
80#include <linux/kernel.h> 79#include <linux/kernel.h>
81 80
diff --git a/sound/oss/trident.c b/sound/oss/trident.c
index 72a8a0ed36a2..d98d311542ed 100644
--- a/sound/oss/trident.c
+++ b/sound/oss/trident.c
@@ -207,7 +207,6 @@
207#include <linux/init.h> 207#include <linux/init.h>
208#include <linux/poll.h> 208#include <linux/poll.h>
209#include <linux/spinlock.h> 209#include <linux/spinlock.h>
210#include <linux/smp_lock.h>
211#include <linux/ac97_codec.h> 210#include <linux/ac97_codec.h>
212#include <linux/bitops.h> 211#include <linux/bitops.h>
213#include <linux/proc_fs.h> 212#include <linux/proc_fs.h>
diff --git a/sound/oss/via82cxxx_audio.c b/sound/oss/via82cxxx_audio.c
index 7ab3a732e184..5d3c0372df32 100644
--- a/sound/oss/via82cxxx_audio.c
+++ b/sound/oss/via82cxxx_audio.c
@@ -32,7 +32,6 @@
32#include <linux/poll.h> 32#include <linux/poll.h>
33#include <linux/soundcard.h> 33#include <linux/soundcard.h>
34#include <linux/ac97_codec.h> 34#include <linux/ac97_codec.h>
35#include <linux/smp_lock.h>
36#include <linux/ioport.h> 35#include <linux/ioport.h>
37#include <linux/delay.h> 36#include <linux/delay.h>
38#include <linux/dma-mapping.h> 37#include <linux/dma-mapping.h>