]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (11390): 2-dev.c: return 0 for NULL open and release callbacks
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 29 Mar 2009 23:19:38 +0000 (20:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:30 +0000 (21:44 -0300)
commit65d9ff9c85d3c2e06d22aed78efee8404563eff6
treede0492e5a6b73ed29222d924b7346b700cb40245
parentdfa76fa2824967c0ec196fbcba36d3e74b66d3aa
V4L/DVB (11390): 2-dev.c: return 0 for NULL open and release callbacks

Patch allows v4l2_open and v4l2_release functions return 0 if open and
release driver callbacks set to NULL. This will be used in radio
drivers.

--

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c