Paul Bolle 895507c19f [media] staging: lirc_serial: silence GCC warning
Building lirc_serial.o triggers this GCC warning:
    drivers/staging/media/lirc/lirc_serial.c: In function '__check_sense':
    drivers/staging/media/lirc/lirc_serial.c:1301:1: warning: return from incompatible pointer type [enabled by default]
This can be trivially fixed by changing the 'sense' parameter from bool
to int. But, to be safe, we also need to make sure 'sense' will only be
-1, 0, or 1. There's no need to document the new values that are now
allowed for the 'sense' parameter, since they're basically useless.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Jarod Wilson <jarod@wilsonet.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-10-28 12:20:01 -02:00
..
2012-07-06 16:08:57 -07:00
2012-10-01 12:11:39 -07:00
2012-09-21 09:17:07 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 13:23:01 -07:00
2012-10-12 10:21:02 +09:00
2012-10-01 12:11:39 -07:00
2012-10-01 13:23:01 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 13:23:01 -07:00
2012-09-16 17:17:25 -07:00
2012-09-26 09:19:50 -07:00
2012-09-16 17:17:25 -07:00
2012-07-09 11:35:00 -07:00
2012-10-01 12:26:52 -07:00
2012-10-01 12:26:52 -07:00