[media] hid-picolcd_cir: fix compilation
authorDavid Härdeman <david@hardeman.nu>
Wed, 31 Oct 2012 07:22:08 +0000 (04:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 31 Oct 2012 19:52:15 +0000 (17:52 -0200)
Commit c003ab1bedf0 ("[media] rc-core: add separate defines for
protocol bitmaps and numbers") overlooked hid-picolcd.
This patch (against git.linuxtv.org/media_tree.git, branch
staging/for_v3.8) fixes the compilation breakage.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/hid/hid-picolcd_cir.c

index 13ca9191b6309a9ff388dbd32dd2f584cb2fffa9..a79e95bb9fb69db2803a9f5c4ee8abccfbfc7f4b 100644 (file)
@@ -116,7 +116,7 @@ int picolcd_init_cir(struct picolcd_data *data, struct hid_report *report)
 
        rdev->priv             = data;
        rdev->driver_type      = RC_DRIVER_IR_RAW;
-       rdev->allowed_protos   = RC_TYPE_ALL;
+       rdev->allowed_protos   = RC_BIT_ALL;
        rdev->open             = picolcd_cir_open;
        rdev->close            = picolcd_cir_close;
        rdev->input_name       = data->hdev->name;