]> err.no Git - linux-2.6/commitdiff
Input: mousedev - use BIT_MASK instead of BIT
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Jan 2008 21:33:40 +0000 (16:33 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Jan 2008 21:33:40 +0000 (16:33 -0500)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mousedev.c

index 335eb870d169443cda45b052e0c0c3fc27461bb7..bbbe5e81adc1036d224925e4809ba05bd0fc22a5 100644 (file)
@@ -1032,7 +1032,7 @@ static const struct input_device_id mousedev_ids[] = {
                .flags = INPUT_DEVICE_ID_MATCH_EVBIT |
                        INPUT_DEVICE_ID_MATCH_KEYBIT |
                        INPUT_DEVICE_ID_MATCH_ABSBIT,
-               .evbit = { BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_SYN) },
+               .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) },
                .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) },
                .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) },
        },      /* Mouse-like device with absolute X and Y but ordinary