summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2011-04-28 12:13:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:52:59 -0300
commit5588dc2b025fd8b2188142b8d59efe562bd57d80 (patch)
treed8ee1ff6a70569424d5553a003f05cc50c5f4b96 /include/media
parent8a8cc952d3fe0eca3ded22a01d4f7e642d676be0 (diff)
downloadlinux-3.10-5588dc2b025fd8b2188142b8d59efe562bd57d80.tar.gz
linux-3.10-5588dc2b025fd8b2188142b8d59efe562bd57d80.tar.bz2
linux-3.10-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 'include/media')
-rw-r--r--include/media/rc-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 60536c74c1e..b1f19b77ecd 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -117,7 +117,7 @@ struct rc_dev {
int (*s_tx_carrier)(struct rc_dev *dev, u32 carrier);
int (*s_tx_duty_cycle)(struct rc_dev *dev, u32 duty_cycle);
int (*s_rx_carrier_range)(struct rc_dev *dev, u32 min, u32 max);
- int (*tx_ir)(struct rc_dev *dev, int *txbuf, u32 n);
+ int (*tx_ir)(struct rc_dev *dev, unsigned *txbuf, unsigned n);
void (*s_idle)(struct rc_dev *dev, bool enable);
int (*s_learning_mode)(struct rc_dev *dev, int enable);
int (*s_carrier_report) (struct rc_dev *dev, int enable);