summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorOliver Endriss <devnull@localhost>2003-08-26 14:14:19 +0000
committerOliver Endriss <devnull@localhost>2003-08-26 14:14:19 +0000
commit33321b60411e4d912ea8f1f55f073fe9b4e2ec61 (patch)
tree3b7054bb38e927bd0f544a4a071492a73569300b /linux/drivers/media
parentf9098729fedb671ccb394a117b93b52c8dab2d37 (diff)
downloadmediapointer-dvb-s2-33321b60411e4d912ea8f1f55f073fe9b4e2ec61.tar.gz
mediapointer-dvb-s2-33321b60411e4d912ea8f1f55f073fe9b4e2ec61.tar.bz2
added missing initialization of '.readers'
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 21f75eaeb..360a13096 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -886,6 +886,7 @@ dvb_register_frontend (int (*ioctl) (struct dvb_frontend *frontend,
static const struct dvb_device dvbdev_template = {
.users = ~0,
.writers = 1,
+ .readers = (~0)-1,
.fops = &dvb_frontend_fops,
.kernel_ioctl = dvb_frontend_ioctl
};