diff options
author | Holger Waechtler <devnull@localhost> | 2002-10-17 13:55:38 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2002-10-17 13:55:38 +0000 |
commit | e26547d9163739d43ced0bcc60b3248d7b496221 (patch) | |
tree | 285c858721d41aad1bf7876be324d6ef41259bf9 /linux/drivers/media/dvb/av7110 | |
parent | ab67330610b1d3a76022997e4020ffe56dc44123 (diff) | |
download | mediapointer-dvb-s2-e26547d9163739d43ced0bcc60b3248d7b496221.tar.gz mediapointer-dvb-s2-e26547d9163739d43ced0bcc60b3248d7b496221.tar.bz2 |
C99 fixes
Diffstat (limited to 'linux/drivers/media/dvb/av7110')
-rw-r--r-- | linux/drivers/media/dvb/av7110/av7110.c | 117 |
1 files changed, 56 insertions, 61 deletions
diff --git a/linux/drivers/media/dvb/av7110/av7110.c b/linux/drivers/media/dvb/av7110/av7110.c index 32613db23..fa9c3671f 100644 --- a/linux/drivers/media/dvb/av7110/av7110.c +++ b/linux/drivers/media/dvb/av7110/av7110.c @@ -3124,24 +3124,24 @@ static unsigned int dvb_audio_poll(struct file *file, poll_table *wait) static struct file_operations dvb_fops = { - ioctl: dvb_ioctl, - mmap: dvb_mmap, - llseek: no_llseek + .ioctl = dvb_ioctl, + .mmap = dvb_mmap, + .llseek = no_llseek }; /* template for video_device-structure */ static struct video_device dvb_template = { - owner: THIS_MODULE, - name: "DVB Board", - type: VID_TYPE_TUNER | - VID_TYPE_CAPTURE | - VID_TYPE_OVERLAY | - VID_TYPE_CLIPPING | - VID_TYPE_FRAMERAM | - VID_TYPE_SCALES, - hardware: VID_HARDWARE_SAA7146, - fops: &dvb_fops + .owner = THIS_MODULE, + .name = "DVB Board", + .type = VID_TYPE_TUNER | + VID_TYPE_CAPTURE | + VID_TYPE_OVERLAY | + VID_TYPE_CLIPPING | + VID_TYPE_FRAMERAM | + VID_TYPE_SCALES, + .hardware = VID_HARDWARE_SAA7146, + .fops = &dvb_fops }; @@ -4256,75 +4256,70 @@ static int dvb_audio_release(struct inode *inode, struct file *file) ******************************************************************************/ static struct file_operations dvb_video_fops = { - owner: THIS_MODULE, - read: 0, - write: dvb_video_write, - ioctl: dvb_generic_ioctl, - open: dvb_video_open, - release: dvb_video_release, - poll: dvb_video_poll, + .owner = THIS_MODULE, + .write = dvb_video_write, + .ioctl = dvb_generic_ioctl, + .open = dvb_video_open, + .release = dvb_video_release, + .poll = dvb_video_poll, }; static dvb_device_t dvbdev_video = { - priv: 0, - users: 1, - writers: 1, - fops: &dvb_video_fops, - kernel_ioctl: dvb_video_ioctl, + .priv = 0, + .users = 1, + .writers = 1, + .fops = &dvb_video_fops, + .kernel_ioctl = dvb_video_ioctl, }; static struct file_operations dvb_audio_fops = { - owner: THIS_MODULE, - read: 0, - write: dvb_audio_write, - ioctl: dvb_generic_ioctl, - open: dvb_audio_open, - release: dvb_audio_release, - poll: dvb_audio_poll, + .owner = THIS_MODULE, + .write = dvb_audio_write, + .ioctl = dvb_generic_ioctl, + .open = dvb_audio_open, + .release = dvb_audio_release, + .poll = dvb_audio_poll, }; static dvb_device_t dvbdev_audio = { - priv: 0, - users: 1, - writers: 1, - fops: &dvb_audio_fops, - kernel_ioctl: dvb_audio_ioctl, + .priv = 0, + .users = 1, + .writers = 1, + .fops = &dvb_audio_fops, + .kernel_ioctl = dvb_audio_ioctl, }; static struct file_operations dvb_ca_fops = { - owner: THIS_MODULE, - read: dvb_ca_read, - write: dvb_ca_write, - ioctl: dvb_generic_ioctl, - open: dvb_ca_open, - release: dvb_generic_release, - poll: dvb_ca_poll, + .owner = THIS_MODULE, + .read = dvb_ca_read, + .write = dvb_ca_write, + .ioctl = dvb_generic_ioctl, + .open = dvb_ca_open, + .release = dvb_generic_release, + .poll = dvb_ca_poll, }; static dvb_device_t dvbdev_ca = { - priv: 0, - users: 1, - writers: 1, - fops: &dvb_ca_fops, - kernel_ioctl: dvb_ca_ioctl, + .priv = 0, + .users = 1, + .writers = 1, + .fops = &dvb_ca_fops, + .kernel_ioctl = dvb_ca_ioctl, }; static struct file_operations dvb_osd_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_osd = { - priv: 0, - users: 1, - writers: 1, - fops: &dvb_osd_fops, - kernel_ioctl: dvb_osd_ioctl, + .priv = 0, + .users = 1, + .writers = 1, + .fops = &dvb_osd_fops, + .kernel_ioctl = dvb_osd_ioctl, }; |