diff options
author | David Härdeman <david@hardeman.nu> | 2011-04-28 12:13:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 17:52:59 -0300 |
commit | 5588dc2b025fd8b2188142b8d59efe562bd57d80 (patch) | |
tree | d8ee1ff6a70569424d5553a003f05cc50c5f4b96 /drivers/media/rc/ene_ir.h | |
parent | 8a8cc952d3fe0eca3ded22a01d4f7e642d676be0 (diff) | |
download | blackbird-op-linux-5588dc2b025fd8b2188142b8d59efe562bd57d80.tar.gz blackbird-op-linux-5588dc2b025fd8b2188142b8d59efe562bd57d80.zip |
[media] rc-core: lirc use unsigned int
Durations can never be negative, so it makes sense to consistently use
unsigned int for LIRC transmission. Contrary to the initial impression,
this shouldn't actually change the userspace API.
Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/ene_ir.h')
-rw-r--r-- | drivers/media/rc/ene_ir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ene_ir.h b/drivers/media/rc/ene_ir.h index 337a41d4450b..017c209cdf8a 100644 --- a/drivers/media/rc/ene_ir.h +++ b/drivers/media/rc/ene_ir.h @@ -235,7 +235,7 @@ struct ene_device { bool tx_sample_pulse; /* current sample is pulse */ /* TX buffer */ - int *tx_buffer; /* input samples buffer*/ + unsigned *tx_buffer; /* input samples buffer*/ int tx_pos; /* position in that bufer */ int tx_len; /* current len of tx buffer */ int tx_done; /* done transmitting */ |