Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257184
b: refs/heads/master
c: 16ba9b0
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and Thomas Gleixner committed Jun 9, 2011
1 parent 9b1cef1 commit 743aba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 15f304b664c0d0a3e76ed3a9ce3615a86908babe
refs/heads/master: 16ba9b061223c8a58b9b2e0dd01435111c4e902a
9 changes: 1 addition & 8 deletions trunk/drivers/input/misc/pcspkr.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i8253.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/platform_device.h>
Expand All @@ -25,14 +26,6 @@ MODULE_DESCRIPTION("PC Speaker beeper driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:pcspkr");

#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

static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
{
unsigned int count = 0;
Expand Down

0 comments on commit 743aba8

Please sign in to comment.