V4L/DVB (10110): v4l2-ioctl: Fix warnings when using .unlocked_ioctl = __video_ioctl2
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 22:15:43 +0000 (19:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:40:33 +0000 (09:40 -0200)
commit92ab7886119da6375a983713eedab444e32094f6
treea17583daee778c35ff3013a04cabdbe8891411cd
parent902571aaa91263bc27e923e94ddf161c106befee
V4L/DVB (10110): v4l2-ioctl: Fix warnings when using .unlocked_ioctl = __video_ioctl2

This patch fixes this warning:

drivers/media/video/gspca/gspca.c:1811: warning: initialization from incompatible pointer type

The reason is that the returned argument should be a long, not an
integer.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c
include/media/v4l2-ioctl.h