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>
This commit is contained in:
parent
03a44825be
commit
c8cece84c9
2 changed files with 4 additions and 4 deletions
|
@ -1580,7 +1580,7 @@ static int cs4297a_ioctl_mixdev(struct inode *inode, struct file *file,
|
||||||
// ******************************************************************************************
|
// ******************************************************************************************
|
||||||
// Mixer file operations struct.
|
// Mixer file operations struct.
|
||||||
// ******************************************************************************************
|
// ******************************************************************************************
|
||||||
static /*const */ struct file_operations cs4297a_mixer_fops = {
|
static const struct file_operations cs4297a_mixer_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.llseek = no_llseek,
|
.llseek = no_llseek,
|
||||||
.ioctl = cs4297a_ioctl_mixdev,
|
.ioctl = cs4297a_ioctl_mixdev,
|
||||||
|
@ -2491,7 +2491,7 @@ static int cs4297a_open(struct inode *inode, struct file *file)
|
||||||
// ******************************************************************************************
|
// ******************************************************************************************
|
||||||
// Wave (audio) file operations struct.
|
// Wave (audio) file operations struct.
|
||||||
// ******************************************************************************************
|
// ******************************************************************************************
|
||||||
static /*const */ struct file_operations cs4297a_audio_fops = {
|
static const struct file_operations cs4297a_audio_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.llseek = no_llseek,
|
.llseek = no_llseek,
|
||||||
.read = cs4297a_read,
|
.read = cs4297a_read,
|
||||||
|
|
|
@ -2878,7 +2878,7 @@ trident_release(struct inode *inode, struct file *file)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static /*const */ struct file_operations trident_audio_fops = {
|
static const struct file_operations trident_audio_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.llseek = no_llseek,
|
.llseek = no_llseek,
|
||||||
.read = trident_read,
|
.read = trident_read,
|
||||||
|
@ -4104,7 +4104,7 @@ trident_ioctl_mixdev(struct inode *inode, struct file *file, unsigned int cmd,
|
||||||
return codec->mixer_ioctl(codec, cmd, arg);
|
return codec->mixer_ioctl(codec, cmd, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
static /*const */ struct file_operations trident_mixer_fops = {
|
static const struct file_operations trident_mixer_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.llseek = no_llseek,
|
.llseek = no_llseek,
|
||||||
.ioctl = trident_ioctl_mixdev,
|
.ioctl = trident_ioctl_mixdev,
|
||||||
|
|
Loading…
Reference in a new issue