pcspkr.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) pcspkr.c (334955ef964bee9d3b1e20966847eee28cfd05f6)
1/*
2 * PC Speaker beeper driver for Linux
3 *
4 * Copyright (c) 2002 Vojtech Pavlik
5 * Copyright (c) 1992 Orest Zborowski
6 *
7 */
8

--- 13 unchanged lines hidden (view full) ---

22
23MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
24MODULE_DESCRIPTION("PC Speaker beeper driver");
25MODULE_LICENSE("GPL");
26MODULE_ALIAS("platform:pcspkr");
27
28#if defined(CONFIG_MIPS) || defined(CONFIG_X86)
29/* Use the global PIT lock ! */
1/*
2 * PC Speaker beeper driver for Linux
3 *
4 * Copyright (c) 2002 Vojtech Pavlik
5 * Copyright (c) 1992 Orest Zborowski
6 *
7 */
8

--- 13 unchanged lines hidden (view full) ---

22
23MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
24MODULE_DESCRIPTION("PC Speaker beeper driver");
25MODULE_LICENSE("GPL");
26MODULE_ALIAS("platform:pcspkr");
27
28#if defined(CONFIG_MIPS) || defined(CONFIG_X86)
29/* Use the global PIT lock ! */
30#include <asm/i8253.h>
30#include <linux/i8253.h>
31#else
32#include <asm/8253pit.h>
33static DEFINE_RAW_SPINLOCK(i8253_lock);
34#endif
35
36static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
37{
38 unsigned int count = 0;

--- 119 unchanged lines hidden ---
31#else
32#include <asm/8253pit.h>
33static DEFINE_RAW_SPINLOCK(i8253_lock);
34#endif
35
36static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
37{
38 unsigned int count = 0;

--- 119 unchanged lines hidden ---