]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hwmon/hdaps.c
HID: fix a potential bug in pointer casting
[linux-2.6-omap-h63xx.git] / drivers / hwmon / hdaps.c
index 8a7ae03aeee4e5aa1adb629ce77055b10c2a1f77..bab5fd2e4dfdafd4442fa13bdd90f3a3f2022d39 100644 (file)
@@ -574,7 +574,7 @@ static int __init hdaps_init(void)
        idev = hdaps_idev->input;
        idev->name = "hdaps";
        idev->dev.parent = &pdev->dev;
-       idev->evbit[0] = BIT(EV_ABS);
+       idev->evbit[0] = BIT_MASK(EV_ABS);
        input_set_abs_params(idev, ABS_X,
                        -256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
        input_set_abs_params(idev, ABS_Y,