aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx18/cx18-ioctl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-26 08:04:52 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-29 08:18:36 -0300
commit6d43be7789db0455a82a3ad4ff5f713cc588c1e2 (patch)
treeae39f4a0c557c7e8f776f8788182d9d9d2ad8e2c /drivers/media/pci/cx18/cx18-ioctl.c
parent[media] staging: davinci: Fix typo in staging/media/davinci (diff)
downloadlinux-dev-6d43be7789db0455a82a3ad4ff5f713cc588c1e2.tar.xz
linux-dev-6d43be7789db0455a82a3ad4ff5f713cc588c1e2.zip
[media] ioctl numbers are unsigned int
ioctl's number is unsigned int. Fix it at vidioc_default. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx18/cx18-ioctl.c')
-rw-r--r--drivers/media/pci/cx18/cx18-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx18/cx18-ioctl.c b/drivers/media/pci/cx18/cx18-ioctl.c
index 7dbd5a9451ed..aee7b6dacbfe 100644
--- a/drivers/media/pci/cx18/cx18-ioctl.c
+++ b/drivers/media/pci/cx18/cx18-ioctl.c
@@ -1110,7 +1110,7 @@ static int cx18_log_status(struct file *file, void *fh)
}
static long cx18_default(struct file *file, void *fh, bool valid_prio,
- int cmd, void *arg)
+ unsigned int cmd, void *arg)
{
struct cx18 *cx = fh2id(fh)->cx;