diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-12-08 08:35:06 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:26 -0500 |
commit | 14d5deba2737c59444e805c10764d58a3d73e9b2 (patch) | |
tree | 89caa43d90e9c622261ede8f81999a7aee158aa8 /drivers/media/video/ivtv/ivtv-ioctl.c | |
parent | d130fa8a05ee5f39c786df02dd75d1eebb12633b (diff) |
V4L/DVB (6776): ivtv: Some general fixes
Fix "warning: Using plain integer as NULL pointer".
Convert 'x < y ? x : y' to use min() instead.
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index 25b68843a289..edef2a579617 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -698,7 +698,7 @@ static int ivtv_debug_ioctls(struct file *filp, unsigned int cmd, void *arg) | |||
698 | ivtv_reset_ir_gpio(itv); | 698 | ivtv_reset_ir_gpio(itv); |
699 | } | 699 | } |
700 | if (val & 0x02) { | 700 | if (val & 0x02) { |
701 | itv->video_dec_func(itv, cmd, 0); | 701 | itv->video_dec_func(itv, cmd, NULL); |
702 | } | 702 | } |
703 | break; | 703 | break; |
704 | } | 704 | } |