lkml.org 
[lkml]   [2012]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hid-picolcd_cir: fix compilation
On Wed, 31 Oct 2012, David Härdeman wrote:

> 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>
> ---
> drivers/hid/hid-picolcd_cir.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/hid-picolcd_cir.c b/drivers/hid/hid-picolcd_cir.c
> index 13ca919..a79e95b 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;

This has been reported by Stephen a few days ago already ... Mauro, any
plans to have that fixed up in media tree please?

Thanks,

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-10-31 15:21    [W:0.033 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site