diff options
| -rw-r--r-- | drivers/input/misc/ixp4xx-beeper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c index 3d4b619dadab..e759944041ab 100644 --- a/drivers/input/misc/ixp4xx-beeper.c +++ b/drivers/input/misc/ixp4xx-beeper.c | |||
| @@ -51,7 +51,7 @@ static void ixp4xx_spkr_control(unsigned int pin, unsigned int count) | |||
| 51 | 51 | ||
| 52 | static int ixp4xx_spkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) | 52 | static int ixp4xx_spkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) |
| 53 | { | 53 | { |
| 54 | unsigned int pin = (unsigned int) input_get_drvdata(input_dev); | 54 | unsigned int pin = (unsigned int) input_get_drvdata(dev); |
| 55 | unsigned int count = 0; | 55 | unsigned int count = 0; |
| 56 | 56 | ||
| 57 | if (type != EV_SND) | 57 | if (type != EV_SND) |
