PATCH: ite C99 and version/h

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Apr 2003 01:41:51 +0100


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/sound/oss/ite8172.c linux-2.5.67-ac1/sound/oss/ite8172.c
--- linux-2.5.67/sound/oss/ite8172.c 2003-03-06 17:04:39.000000000 +0000
+++ linux-2.5.67-ac1/sound/oss/ite8172.c 2003-04-03 23:52:57.000000000 +0100
@@ -51,7 +51,6 @@
* Revision history
* 02.08.2001 0.1 Initial release
*/
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/ioport.h>
@@ -863,11 +862,11 @@
}

static /*const*/ struct file_operations it8172_mixer_fops = {
- owner: THIS_MODULE,
- llseek: no_llseek,
- ioctl: it8172_ioctl_mixdev,
- open: it8172_open_mixdev,
- release: it8172_release_mixdev,
+ .owner = THIS_MODULE,
+ .llseek = no_llseek,
+ .ioctl = it8172_ioctl_mixdev,
+ .open = it8172_open_mixdev,
+ .release = it8172_release_mixdev,
};

/* --------------------------------------------------------------------- */
@@ -1630,15 +1629,15 @@
}

static /*const*/ struct file_operations it8172_audio_fops = {
- owner: THIS_MODULE,
- llseek: no_llseek,
- read: it8172_read,
- write: it8172_write,
- poll: it8172_poll,
- ioctl: it8172_ioctl,
- mmap: it8172_mmap,
- open: it8172_open,
- release: it8172_release,
+ .owner = THIS_MODULE,
+ .llseek = no_llseek,
+ .read = it8172_read,
+ .write = it8172_write,
+ .poll = it8172_poll,
+ .ioctl = it8172_ioctl,
+ .mmap = it8172_mmap,
+ .open = it8172_open,
+ .release = it8172_release,
};


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/