diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-19 21:28:27 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 09:39:35 -0200 |
commit | dc93a70cc7f92e1dbaf29fa7dfd914b0f618fb31 (patch) | |
tree | ec14edc6348b80390a1787e70828b5cd3401fe3c /ipc/compat_mq.c | |
parent | be49e368fb6e20c3a90c566b040ac3d248e2ce29 (diff) |
V4L/DVB (9973): v4l2-dev: use the release callback from device instead of cdev
Instead of relying on the cdev release callback we should rely on the
release callback from the device struct. This requires that we use
get_device/put_device to do proper refcounting. In order to do this
safely v4l2-dev.c now sets up its own file_operations that call
out to the driver's ops.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'ipc/compat_mq.c')
0 files changed, 0 insertions, 0 deletions