V4L/DVB (8784): v4l2-dev: make the video_device's release callback mandatory
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 23 Aug 2008 09:27:59 +0000 (06:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:54 +0000 (09:36 -0200)
commitd6e7497eaf9889d39a070f60309a9bcea1fd29f6
treea0668d21b89c749d1a193bac26c9961bd409e1af
parentaa5e90af7d78d1711f8f4275ce3638817c0023dc
V4L/DVB (8784): v4l2-dev: make the video_device's release callback mandatory

Now that all drivers set the release callback in the video_device
struct we can put in a BUG_ON in video_register_device to ensure that
the callback is always there.

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