1 2 3 4 5 6 7 8 9 10 11
--- a/alsa-kernel/core/sound.c +++ b/alsa-kernel/core/sound.c @@ -168,7 +168,7 @@ static int snd_open(struct inode *inode, return err; } -static const struct file_operations snd_fops = +const struct file_operations snd_fops = { .owner = THIS_MODULE, .open = snd_open