V4L/DVB: IR TX: incoming IR buffer now an int pointer
authorJarod Wilson <jarod@redhat.com>
Fri, 2 Jul 2010 03:38:09 +0000 (00:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:17:28 +0000 (15:17 -0300)
incoming IR buffer now an int pointer, and not fed from userspace

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/ir-core.h

index 9b957af..513e60d 100644 (file)
@@ -61,7 +61,7 @@ struct ir_dev_props {
        void                    (*close)(void *priv);
        int                     (*s_tx_mask)(void *priv, u32 mask);
        int                     (*s_tx_carrier)(void *priv, u32 carrier);
-       int                     (*tx_ir)(void *priv, const char *buf, u32 n);
+       int                     (*tx_ir)(void *priv, int *txbuf, u32 n);
 };
 
 struct ir_input_dev {