Skip to content

Commit

Permalink
[ALSA] pcsp - clean ups
Browse files Browse the repository at this point in the history
- make pcsp_start_timer_tasklet static
- remove redundant includes. <asm/i8253.h> is not available on all platforms.

Signed-off-by: Stas Sergeev <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Stas Sergeev authored and tiwai committed Apr 24, 2008
1 parent 368c7a9 commit a91605b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions sound/drivers/pcsp/pcsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions sound/drivers/pcsp/pcsp_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit a91605b

Please sign in to comment.