]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/joystick/gf2k.c
drm/i915: Fix hibernate save/restore of VGA attribute regs
[linux-2.6-omap-h63xx.git] / drivers / input / joystick / gf2k.c
index d514aebf75541fc871b56b510f1c4410bef2990c..1f6302c0eb3fd8e47c5f8e5a5edfdd95836d5fe8 100644 (file)
@@ -315,7 +315,7 @@ static int gf2k_connect(struct gameport *gameport, struct gameport_driver *drv)
        input_dev->open = gf2k_open;
        input_dev->close = gf2k_close;
 
-       input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
+       input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
 
        for (i = 0; i < gf2k_axes[gf2k->id]; i++)
                set_bit(gf2k_abs[i], input_dev->absbit);