Skip to content

Commit

Permalink
i8253: Make pcsp sound driver use the shared i8253_lock
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Acked-by: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Link: http://lkml.kernel.org/r/20110601180610.532642190@duck.linux-mips.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Ralf Baechle authored and Thomas Gleixner committed Jun 9, 2011
1 parent 16ba9b0 commit 8e1b5ad
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions sound/drivers/pcsp/pcsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@
#define __PCSP_H__

#include <linux/hrtimer.h>
#include <linux/timex.h>
#if defined(CONFIG_MIPS) || defined(CONFIG_X86)
/* Use the global PIT lock ! */
#include <linux/i8253.h>
#else
#include <asm/8253pit.h>
static DEFINE_RAW_SPINLOCK(i8253_lock);
#endif
#include <linux/timex.h>

#define PCSP_SOUND_VERSION 0x400 /* read 4.00 */
#define PCSP_DEBUG 0
Expand Down

0 comments on commit 8e1b5ad

Please sign in to comment.