]> err.no Git - linux-2.6/commitdiff
[ALSA] pcsp - clean ups
authorStas Sergeev <stsp@aknet.ru>
Tue, 4 Mar 2008 10:28:43 +0000 (11:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:21 +0000 (12:00 +0200)
- make pcsp_start_timer_tasklet static
- remove redundant includes. <asm/i8253.h> is not available on all platforms.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/pcsp/pcsp.c
sound/drivers/pcsp/pcsp_lib.c

index 34477286b394de28693c0db50ec2bde96a6cf54b..264d2a56dcd2ec738d835c7bd0d2e7964c81f09f 100644 (file)
@@ -11,9 +11,7 @@
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/pcm.h>
-
 #include <linux/input.h>
-#include <linux/delay.h>
 #include <asm/bitops.h>
 #include "pcsp_input.h"
 #include "pcsp.h"
index 6bdcb89129d8dd32235648084c4cadfd780e56ec..a302756eac7caaf301f4e99fa9fa02a5d0920e15 100644 (file)
@@ -9,10 +9,8 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <sound/pcm.h>
-#include <sound/pcm_params.h>
 #include <linux/interrupt.h>
 #include <asm/io.h>
-#include <asm/i8253.h>
 #include "pcsp.h"
 
 static int nforce_wa;
@@ -45,7 +43,7 @@ static void pcsp_start_timer(unsigned long dummy)
  * The only solution I could find was to move the
  * hrtimer_start() into a tasklet. -stsp
  */
-DECLARE_TASKLET(pcsp_start_timer_tasklet, pcsp_start_timer, 0);
+static DECLARE_TASKLET(pcsp_start_timer_tasklet, pcsp_start_timer, 0);
 
 enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle)
 {