Commit f040ffab authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] sound/oss/rme96xx.c: remove kernel 2.2 #if's

This patch removes #if's for kernel 2.2 .
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4f00945a
...@@ -1750,9 +1750,7 @@ static unsigned int rme96xx_poll(struct file *file, struct poll_table_struct *wa ...@@ -1750,9 +1750,7 @@ static unsigned int rme96xx_poll(struct file *file, struct poll_table_struct *wa
static struct file_operations rme96xx_audio_fops = { static struct file_operations rme96xx_audio_fops = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
.owner = THIS_MODULE, .owner = THIS_MODULE,
#endif
.read = rme96xx_read, .read = rme96xx_read,
.write = rme96xx_write, .write = rme96xx_write,
.poll = rme96xx_poll, .poll = rme96xx_poll,
...@@ -1852,9 +1850,7 @@ static int rme96xx_mixer_release(struct inode *inode, struct file *file) ...@@ -1852,9 +1850,7 @@ static int rme96xx_mixer_release(struct inode *inode, struct file *file)
} }
static /*const*/ struct file_operations rme96xx_mixer_fops = { static /*const*/ struct file_operations rme96xx_mixer_fops = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
.owner = THIS_MODULE, .owner = THIS_MODULE,
#endif
.ioctl = rme96xx_mixer_ioctl, .ioctl = rme96xx_mixer_ioctl,
.open = rme96xx_mixer_open, .open = rme96xx_mixer_open,
.release = rme96xx_mixer_release, .release = rme96xx_mixer_release,
......
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