]> git.baikalelectronics.ru Git - kernel.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)
commit28038c32459bbe34d9a30938d770d2ea2c711cce
treede0492e5a6b73ed29222d924b7346b700cb40245
parent1a3d528c5ac20ee0006ed6ab86268ad9c62ebef6
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