summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2012-10-31 04:22:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-31 17:52:15 -0200
commitc28eb66292598f3d5d8c687be7425a80cb2143af (patch)
tree4c7109d74844c4811e38f3987dc25b84f82ef3df /drivers/hid
parent8f7e91a31fb95c50880c76505b416630c0326d93 (diff)
downloadlinux-c28eb66292598f3d5d8c687be7425a80cb2143af.tar.gz
linux-c28eb66292598f3d5d8c687be7425a80cb2143af.tar.bz2
linux-c28eb66292598f3d5d8c687be7425a80cb2143af.zip
[media] hid-picolcd_cir: fix compilation
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>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-picolcd_cir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-picolcd_cir.c b/drivers/hid/hid-picolcd_cir.c
index 13ca9191b630..a79e95bb9fb6 100644
--- a/drivers/hid/hid-picolcd_cir.c
+++ b/drivers/hid/hid-picolcd_cir.c
@@ -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;