Commit a50ac258 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] another C99 and version casd

parent 72069dc5
...@@ -79,7 +79,6 @@ ...@@ -79,7 +79,6 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/version.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/ioport.h> #include <linux/ioport.h>
...@@ -2554,15 +2553,15 @@ static int i810_release(struct inode *inode, struct file *file) ...@@ -2554,15 +2553,15 @@ static int i810_release(struct inode *inode, struct file *file)
} }
static /*const*/ struct file_operations i810_audio_fops = { static /*const*/ struct file_operations i810_audio_fops = {
owner: THIS_MODULE, .owner = THIS_MODULE,
llseek: no_llseek, .llseek = no_llseek,
read: i810_read, .read = i810_read,
write: i810_write, .write = i810_write,
poll: i810_poll, .poll = i810_poll,
ioctl: i810_ioctl, .ioctl = i810_ioctl,
mmap: i810_mmap, .mmap = i810_mmap,
open: i810_open, .open = i810_open,
release: i810_release, .release = i810_release,
}; };
/* Write AC97 codec registers */ /* Write AC97 codec registers */
...@@ -2690,10 +2689,10 @@ static int i810_ioctl_mixdev(struct inode *inode, struct file *file, unsigned in ...@@ -2690,10 +2689,10 @@ static int i810_ioctl_mixdev(struct inode *inode, struct file *file, unsigned in
} }
static /*const*/ struct file_operations i810_mixer_fops = { static /*const*/ struct file_operations i810_mixer_fops = {
owner: THIS_MODULE, .owner = THIS_MODULE,
llseek: no_llseek, .llseek = no_llseek,
ioctl: i810_ioctl_mixdev, .ioctl = i810_ioctl_mixdev,
open: i810_open_mixdev, .open = i810_open_mixdev,
}; };
/* AC97 codec initialisation. These small functions exist so we don't /* AC97 codec initialisation. These small functions exist so we don't
...@@ -3430,13 +3429,13 @@ MODULE_PARM(spdif_locked, "i"); ...@@ -3430,13 +3429,13 @@ MODULE_PARM(spdif_locked, "i");
#define I810_MODULE_NAME "intel810_audio" #define I810_MODULE_NAME "intel810_audio"
static struct pci_driver i810_pci_driver = { static struct pci_driver i810_pci_driver = {
name: I810_MODULE_NAME, .name = I810_MODULE_NAME,
id_table: i810_pci_tbl, .id_table = i810_pci_tbl,
probe: i810_probe, .probe = i810_probe,
remove: __devexit_p(i810_remove), .remove = __devexit_p(i810_remove),
#ifdef CONFIG_PM #ifdef CONFIG_PM
suspend: i810_pm_suspend, .suspend = i810_pm_suspend,
resume: i810_pm_resume, .resume = i810_pm_resume,
#endif /* CONFIG_PM */ #endif /* CONFIG_PM */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment