summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2002-10-17 13:55:38 +0000
committerHolger Waechtler <devnull@localhost>2002-10-17 13:55:38 +0000
commite26547d9163739d43ced0bcc60b3248d7b496221 (patch)
tree285c858721d41aad1bf7876be324d6ef41259bf9 /linux/drivers/media/dvb/dvb-core
parentab67330610b1d3a76022997e4020ffe56dc44123 (diff)
downloadmediapointer-dvb-s2-e26547d9163739d43ced0bcc60b3248d7b496221.tar.gz
mediapointer-dvb-s2-e26547d9163739d43ced0bcc60b3248d7b496221.tar.bz2
C99 fixes
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dmxdev.c43
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c10
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_net.c21
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c9
4 files changed, 37 insertions, 46 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dmxdev.c b/linux/drivers/media/dvb/dvb-core/dmxdev.c
index d388a1b62..b92f31d54 100644
--- a/linux/drivers/media/dvb/dvb-core/dmxdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dmxdev.c
@@ -965,20 +965,19 @@ static int dvb_demux_release(struct inode *inode, struct file *file)
}
static struct file_operations dvb_demux_fops = {
- owner: THIS_MODULE,
- read: dvb_demux_read,
- write: 0,
- ioctl: dvb_demux_ioctl,
- open: dvb_demux_open,
- release: dvb_demux_release,
- poll: dvb_demux_poll,
+ .owner = THIS_MODULE,
+ .read = dvb_demux_read,
+ .ioctl = dvb_demux_ioctl,
+ .open = dvb_demux_open,
+ .release = dvb_demux_release,
+ .poll = dvb_demux_poll,
};
static dvb_device_t dvbdev_demux = {
- priv: 0,
- users: 1,
- writers: 1,
- fops: &dvb_demux_fops
+ .priv = 0,
+ .users = 1,
+ .writers = 1,
+ .fops = &dvb_demux_fops
};
static int dvb_dvr_do_ioctl(struct inode *inode, struct file *file,
@@ -1040,20 +1039,20 @@ static unsigned int dvb_dvr_poll(struct file *file, poll_table *wait)
}
static struct file_operations dvb_dvr_fops = {
- owner: THIS_MODULE,
- read: dvb_dvr_read,
- write: dvb_dvr_write,
- ioctl: dvb_dvr_ioctl,
- open: dvb_dvr_open,
- release: dvb_dvr_release,
- poll: dvb_dvr_poll,
+ .owner = THIS_MODULE,
+ .read = dvb_dvr_read,
+ .write = dvb_dvr_write,
+ .ioctl = dvb_dvr_ioctl,
+ .open = dvb_dvr_open,
+ .release = dvb_dvr_release,
+ .poll =dvb_dvr_poll,
};
static dvb_device_t dvbdev_dvr = {
- priv: 0,
- users: 1,
- writers: 1,
- fops: &dvb_dvr_fops
+ .priv = 0,
+ .users = 1,
+ .writers = 1,
+ .fops = &dvb_dvr_fops
};
int
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index f64279a04..7e14f56d9 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -827,11 +827,11 @@ dvb_remove_frontend_notifier (struct dvb_adapter_s *adapter,
static
struct file_operations dvb_frontend_fops = {
- owner: THIS_MODULE,
- ioctl: dvb_generic_ioctl,
- poll: dvb_frontend_poll,
- open: dvb_frontend_open,
- release: dvb_frontend_release
+ .owner = THIS_MODULE,
+ .ioctl = dvb_generic_ioctl,
+ .poll = dvb_frontend_poll,
+ .open = dvb_frontend_open,
+ .release = dvb_frontend_release
};
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c
index 6553682a8..35a18d3ae 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_net.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c
@@ -462,21 +462,18 @@ int dvb_net_ioctl(struct inode *inode, struct file *file,
}
static struct file_operations dvb_net_fops = {
- owner: THIS_MODULE,
- read: 0,
- write: 0,
- ioctl: dvb_generic_ioctl,
- open: dvb_generic_open,
- release: dvb_generic_release,
- poll: 0,
+ .owner = THIS_MODULE,
+ .ioctl = dvb_generic_ioctl,
+ .open = dvb_generic_open,
+ .release = dvb_generic_release,
};
static dvb_device_t dvbdev_net = {
- priv: 0,
- users: 1,
- writers: 1,
- fops: &dvb_net_fops,
- kernel_ioctl: dvb_net_ioctl,
+ .priv = 0,
+ .users = 1,
+ .writers = 1,
+ .fops = &dvb_net_fops,
+ .kernel_ioctl = dvb_net_ioctl,
};
void
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 */