aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/dmasound
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/dmasound')
-rw-r--r--sound/oss/dmasound/dmasound_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c
index 80b836e80d99..a0ec886f2aa3 100644
--- a/sound/oss/dmasound/dmasound_core.c
+++ b/sound/oss/dmasound/dmasound_core.c
@@ -371,7 +371,7 @@ static int mixer_ioctl(struct inode *inode, struct file *file, u_int cmd,
371 return -EINVAL; 371 return -EINVAL;
372} 372}
373 373
374static struct file_operations mixer_fops = 374static const struct file_operations mixer_fops =
375{ 375{
376 .owner = THIS_MODULE, 376 .owner = THIS_MODULE,
377 .llseek = no_llseek, 377 .llseek = no_llseek,
@@ -1337,7 +1337,7 @@ static int sq_ioctl(struct inode *inode, struct file *file, u_int cmd,
1337 return -EINVAL; 1337 return -EINVAL;
1338} 1338}
1339 1339
1340static struct file_operations sq_fops = 1340static const struct file_operations sq_fops =
1341{ 1341{
1342 .owner = THIS_MODULE, 1342 .owner = THIS_MODULE,
1343 .llseek = no_llseek, 1343 .llseek = no_llseek,
@@ -1561,7 +1561,7 @@ static ssize_t state_read(struct file *file, char __user *buf, size_t count,
1561 return n; 1561 return n;
1562} 1562}
1563 1563
1564static struct file_operations state_fops = { 1564static const struct file_operations state_fops = {
1565 .owner = THIS_MODULE, 1565 .owner = THIS_MODULE,
1566 .llseek = no_llseek, 1566 .llseek = no_llseek,
1567 .read = state_read, 1567 .read = state_read,