[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>
This commit is contained in:
Mauro Carvalho Chehab 2013-03-26 08:04:52 -03:00
parent 2f9e96c39f
commit 6d43be7789
7 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -1807,7 +1807,7 @@ static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg)
}
static long ivtv_default(struct file *file, void *fh, bool valid_prio,
int cmd, void *arg)
unsigned int cmd, void *arg)
{
struct ivtv *itv = fh2id(fh)->itv;

View File

@ -1410,7 +1410,7 @@ static int vidioc_streamoff(struct file *file, void *fh, enum v4l2_buf_type i)
}
static long vidioc_default(struct file *file, void *fh, bool valid_prio,
int cmd, void *arg)
unsigned int cmd, void *arg)
{
switch (cmd) {
case MEYEIOC_G_PARAMS:

View File

@ -1686,7 +1686,7 @@ static int vpfe_s_crop(struct file *file, void *priv,
static long vpfe_param_handler(struct file *file, void *priv,
bool valid_prio, int cmd, void *param)
bool valid_prio, unsigned int cmd, void *param)
{
struct vpfe_device *vpfe_dev = video_drvdata(file);
int ret = 0;

View File

@ -222,7 +222,7 @@ static int radio_si4713_s_frequency(struct file *file, void *p,
}
static long radio_si4713_default(struct file *file, void *p,
bool valid_prio, int cmd, void *arg)
bool valid_prio, unsigned int cmd, void *arg)
{
return v4l2_device_call_until_err(get_v4l2_dev(file), 0, core,
ioctl, cmd, arg);

View File

@ -1021,7 +1021,7 @@ static int solo_s_parm(struct file *file, void *priv,
}
static long solo_enc_default(struct file *file, void *fh,
bool valid_prio, int cmd, void *arg)
bool valid_prio, unsigned int cmd, void *arg)
{
struct solo_enc_dev *solo_enc = video_drvdata(file);
struct solo_dev *solo_dev = solo_enc->solo_dev;

View File

@ -275,7 +275,7 @@ struct v4l2_ioctl_ops {
/* For other private ioctls */
long (*vidioc_default) (struct file *file, void *fh,
bool valid_prio, int cmd, void *arg);
bool valid_prio, unsigned int cmd, void *arg);
};