diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-08-12 09:22:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-13 12:03:24 -0700 |
commit | b84ae4a1401a731ef5fee987c0cb08743838dda7 (patch) | |
tree | ec9e186c90833b92a010fbdbd2e0ff74fd8d7d0e /drivers/input/joystick | |
parent | e259f191f2244df04a7746fac1df8aa68ebd0106 (diff) | |
download | linux-stable-b84ae4a1401a731ef5fee987c0cb08743838dda7.tar.gz linux-stable-b84ae4a1401a731ef5fee987c0cb08743838dda7.tar.bz2 linux-stable-b84ae4a1401a731ef5fee987c0cb08743838dda7.zip |
Input: fix faulty XXinput_* calls
They've been introduced by 987a6c02 ("Input: switch to input_abs_*()
access functions") and they appear to be some kind of debug left-over.
[Dmitry Torokhov: these are my fault - I added XX prefixes in places where
I wanted to do additional review of the code but failed to actually do
that in these particular instances.]
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/input/joystick')
-rw-r--r-- | drivers/input/joystick/amijoy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/amijoy.c b/drivers/input/joystick/amijoy.c index e90694fe0d5c..0bc86204213e 100644 --- a/drivers/input/joystick/amijoy.c +++ b/drivers/input/joystick/amijoy.c @@ -139,7 +139,7 @@ static int __init amijoy_init(void) amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); for (j = 0; j < 2; j++) { - XXinput_set_abs_params(amijoy_dev[i], ABS_X + j, + input_set_abs_params(amijoy_dev[i], ABS_X + j, -1, 1, 0, 0); } |