From: Stas Sergeev Date: Tue, 4 Mar 2008 10:28:43 +0000 (+0100) Subject: [ALSA] pcsp - clean ups X-Git-Tag: v2.6.26-rc1~1087^2~151 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a91605b86a234b01d2f99b38411ac30a40bdf067;p=linux-2.6 [ALSA] pcsp - clean ups - make pcsp_start_timer_tasklet static - remove redundant includes. is not available on all platforms. Signed-off-by: Stas Sergeev Signed-off-by: Takashi Iwai --- diff --git a/sound/drivers/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c index 34477286b3..264d2a56dc 100644 --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c @@ -11,9 +11,7 @@ #include #include #include - #include -#include #include #include "pcsp_input.h" #include "pcsp.h" diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c index 6bdcb89129..a302756eac 100644 --- a/sound/drivers/pcsp/pcsp_lib.c +++ b/sound/drivers/pcsp/pcsp_lib.c @@ -9,10 +9,8 @@ #include #include #include -#include #include #include -#include #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) {