diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2008-10-23 12:11:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 17:53:12 -0200 |
commit | 5dd3f3071070f5a306bdf8d474c80062f5691cba (patch) | |
tree | fc576a715c397ac5c5459006ea34a9ffac3d430b /drivers/media/dvb/dvb-core/dvbdev.h | |
parent | 568e9bb8d764300e1de81d49ae698cc970a511d8 (diff) | |
download | kernel_samsung_smdk4412-5dd3f3071070f5a306bdf8d474c80062f5691cba.zip kernel_samsung_smdk4412-5dd3f3071070f5a306bdf8d474c80062f5691cba.tar.gz kernel_samsung_smdk4412-5dd3f3071070f5a306bdf8d474c80062f5691cba.tar.bz2 |
V4L/DVB (9361): Dynamic DVB minor allocation
Implement dynamic minor allocation for DVB, to allow more than four
devices of the same type per adapter, based on drivers/usb/core/file.c.
Add a new config option, DVB_DYNAMIC_MINORS, to make use of this
feature, which defaults to no for backwards compatibility.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dvbdev.h')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvbdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvbdev.h b/drivers/media/dvb/dvb-core/dvbdev.h index 574e336..dca49cf 100644 --- a/drivers/media/dvb/dvb-core/dvbdev.h +++ b/drivers/media/dvb/dvb-core/dvbdev.h @@ -74,6 +74,7 @@ struct dvb_device { struct file_operations *fops; struct dvb_adapter *adapter; int type; + int minor; u32 id; /* in theory, 'users' can vanish now, |