diff options
author | Stas Sergeev <stsp@aknet.ru> | 2008-03-04 11:28:43 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 12:00:21 +0200 |
commit | a91605b86a234b01d2f99b38411ac30a40bdf067 (patch) | |
tree | b87f7036e7903b32bd1aff3d5fe77f32ace352da /sound/drivers/pcsp/pcsp_lib.c | |
parent | 368c7a95ea324b3f9728ba1c901ac119d409bf4e (diff) | |
download | linux-stable-a91605b86a234b01d2f99b38411ac30a40bdf067.tar.gz linux-stable-a91605b86a234b01d2f99b38411ac30a40bdf067.tar.bz2 linux-stable-a91605b86a234b01d2f99b38411ac30a40bdf067.zip |
[ALSA] pcsp - clean ups
- 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>
Diffstat (limited to 'sound/drivers/pcsp/pcsp_lib.c')
-rw-r--r-- | sound/drivers/pcsp/pcsp_lib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c index 6bdcb89129d8..a302756eac7c 100644 --- a/sound/drivers/pcsp/pcsp_lib.c +++ b/sound/drivers/pcsp/pcsp_lib.c @@ -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) { |