V4L/DVB (10643): v4l2-device: allow a NULL parent device when registering.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 14 Feb 2009 14:54:23 +0000 (11:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:50 +0000 (12:42 -0300)
commit3a63e4492fbc7aa7f99d4368822da1382ec6fe03
treed9d50f32757e7acde5f7ce3ecb22866b1cf51023
parent62cfdacc9431cad7f9093e91b17ea68d684188ae
V4L/DVB (10643): v4l2-device: allow a NULL parent device when registering.

Some drivers (e.g. for ISA devices) have no parent device because there
is no associated bus driver. Allow the parent device to be NULL in
those cases when registering v4l2_device.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-framework.txt
drivers/media/video/v4l2-device.c
include/media/v4l2-device.h