diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-23 07:35:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 09:39:35 -0200 |
commit | 9bea3514dd4a44490b53cc52498b2967e48056dd (patch) | |
tree | 5aa2003666cd073a1aec46145fdf99147d35be28 /kernel/sys.c | |
parent | dc93a70cc7f92e1dbaf29fa7dfd914b0f618fb31 (diff) |
V4L/DVB (9974): v4l2-dev: allow drivers to pass v4l2_device as parent
Drivers that use v4l2_device can set that as parent pointer in the v4l2_dev
field instead of using the struct device parent field.
This allows v4l2-dev.c to check whether this driver is v4l2_device based,
and if so then it can offer additional services.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions