[media] lirc: Make struct file_operations pointer const
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 30 Sep 2010 19:55:07 +0000 (16:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:16:59 +0000 (01:16 -0200)
commit22c00854f3db563427527a8f71c20bd3943b13e0
tree9b1e8dcbcc44b55ceaa4c9b89734dc55a8bec2ff
parent7242063018c06977dc6825026b3075076e6f227b
[media] lirc: Make struct file_operations pointer const

struct file_operations was made const in the drivers, but not in struct
lirc_driver:

drivers/staging/lirc/lirc_it87.c:365: warning: initialization discards qualifiers from pointer target type
drivers/staging/lirc/lirc_parallel.c:571: warning: initialization discards qualifiers from pointer target type
drivers/staging/lirc/lirc_serial.c:1073: warning: initialization discards qualifiers from pointer target type
drivers/staging/lirc/lirc_sir.c:482: warning: initialization discards qualifiers from pointer target type
drivers/staging/lirc/lirc_zilog.c:1284: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/lirc_dev.h