summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/dvbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.c')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index b38cfdc6a..a8c7591c7 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -118,13 +118,8 @@ int dvb_device_open(struct inode *inode, struct file *file)
static struct file_operations dvb_device_fops =
{
- owner: THIS_MODULE,
- read: NULL,
- write: NULL,
- ioctl: NULL,
- open: dvb_device_open,
- release: NULL,
- poll: NULL,
+ .owner = THIS_MODULE,
+ .open = dvb_device_open,
};
#endif /* CONFIG_DVB_DEVFS_ONLY */