diff options
Diffstat (limited to 'sound/oss')
-rw-r--r-- | sound/oss/au1550_ac97.c | 1 | ||||
-rw-r--r-- | sound/oss/dmasound/tas_ioctl.h | 1 | ||||
-rw-r--r-- | sound/oss/sh_dac_audio.c | 2 | ||||
-rw-r--r-- | sound/oss/soundcard.c | 1 |
4 files changed, 2 insertions, 3 deletions
diff --git a/sound/oss/au1550_ac97.c b/sound/oss/au1550_ac97.c index a339f0c0d512..23018a7c063a 100644 --- a/sound/oss/au1550_ac97.c +++ b/sound/oss/au1550_ac97.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <linux/interrupt.h> | 47 | #include <linux/interrupt.h> |
48 | #include <linux/kernel.h> | 48 | #include <linux/kernel.h> |
49 | #include <linux/poll.h> | 49 | #include <linux/poll.h> |
50 | #include <linux/pci.h> | ||
51 | #include <linux/bitops.h> | 50 | #include <linux/bitops.h> |
52 | #include <linux/spinlock.h> | 51 | #include <linux/spinlock.h> |
53 | #include <linux/smp_lock.h> | 52 | #include <linux/smp_lock.h> |
diff --git a/sound/oss/dmasound/tas_ioctl.h b/sound/oss/dmasound/tas_ioctl.h index dccae3a40e01..9d12b373b4a9 100644 --- a/sound/oss/dmasound/tas_ioctl.h +++ b/sound/oss/dmasound/tas_ioctl.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef _TAS_IOCTL_H_ | 1 | #ifndef _TAS_IOCTL_H_ |
2 | #define _TAS_IOCTL_H_ | 2 | #define _TAS_IOCTL_H_ |
3 | 3 | ||
4 | #include <linux/i2c.h> | ||
5 | #include <linux/soundcard.h> | 4 | #include <linux/soundcard.h> |
6 | 5 | ||
7 | 6 | ||
diff --git a/sound/oss/sh_dac_audio.c b/sound/oss/sh_dac_audio.c index 7ea9accc2ba4..b493660deb36 100644 --- a/sound/oss/sh_dac_audio.c +++ b/sound/oss/sh_dac_audio.c | |||
@@ -104,7 +104,7 @@ static void dac_audio_set_rate(void) | |||
104 | unsigned long interval; | 104 | unsigned long interval; |
105 | struct clk *clk; | 105 | struct clk *clk; |
106 | 106 | ||
107 | clk = clk_get("module_clk"); | 107 | clk = clk_get(NULL, "module_clk"); |
108 | interval = (clk_get_rate(clk) / 4) / rate; | 108 | interval = (clk_get_rate(clk) / 4) / rate; |
109 | clk_put(clk); | 109 | clk_put(clk); |
110 | ctrl_outl(interval, TMU1_TCOR); | 110 | ctrl_outl(interval, TMU1_TCOR); |
diff --git a/sound/oss/soundcard.c b/sound/oss/soundcard.c index dcd8d6d2f56f..a9c23b2502ad 100644 --- a/sound/oss/soundcard.c +++ b/sound/oss/soundcard.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/smp_lock.h> | 44 | #include <linux/smp_lock.h> |
45 | #include <linux/module.h> | 45 | #include <linux/module.h> |
46 | #include <linux/mm.h> | 46 | #include <linux/mm.h> |
47 | #include <linux/device.h> | ||
47 | 48 | ||
48 | /* | 49 | /* |
49 | * This ought to be moved into include/asm/dma.h | 50 | * This ought to be moved into include/asm/dma.h |