diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-02-08 07:21:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:38 -0500 |
commit | c8cece84c9f36410de5164735e909603426e4d5f (patch) | |
tree | c24e7779340f3d1bc67b8f28ad068b7cb636a285 /sound/oss/swarm_cs4297a.c | |
parent | 03a44825be987d720df854f63b2f7bd30e46bdde (diff) |
OSS: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/oss/swarm_cs4297a.c')
-rw-r--r-- | sound/oss/swarm_cs4297a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/swarm_cs4297a.c b/sound/oss/swarm_cs4297a.c index a8057f259553..044453a4ee5b 100644 --- a/sound/oss/swarm_cs4297a.c +++ b/sound/oss/swarm_cs4297a.c | |||
@@ -1580,7 +1580,7 @@ static int cs4297a_ioctl_mixdev(struct inode *inode, struct file *file, | |||
1580 | // ****************************************************************************************** | 1580 | // ****************************************************************************************** |
1581 | // Mixer file operations struct. | 1581 | // Mixer file operations struct. |
1582 | // ****************************************************************************************** | 1582 | // ****************************************************************************************** |
1583 | static /*const */ struct file_operations cs4297a_mixer_fops = { | 1583 | static const struct file_operations cs4297a_mixer_fops = { |
1584 | .owner = THIS_MODULE, | 1584 | .owner = THIS_MODULE, |
1585 | .llseek = no_llseek, | 1585 | .llseek = no_llseek, |
1586 | .ioctl = cs4297a_ioctl_mixdev, | 1586 | .ioctl = cs4297a_ioctl_mixdev, |
@@ -2491,7 +2491,7 @@ static int cs4297a_open(struct inode *inode, struct file *file) | |||
2491 | // ****************************************************************************************** | 2491 | // ****************************************************************************************** |
2492 | // Wave (audio) file operations struct. | 2492 | // Wave (audio) file operations struct. |
2493 | // ****************************************************************************************** | 2493 | // ****************************************************************************************** |
2494 | static /*const */ struct file_operations cs4297a_audio_fops = { | 2494 | static const struct file_operations cs4297a_audio_fops = { |
2495 | .owner = THIS_MODULE, | 2495 | .owner = THIS_MODULE, |
2496 | .llseek = no_llseek, | 2496 | .llseek = no_llseek, |
2497 | .read = cs4297a_read, | 2497 | .read = cs4297a_read, |