X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fsound_core.c;h=46daca1755028d9ac73a4270deda963a11ef6cc9;hb=cc1bf182bb8451a036a7c227f0a95a0416c4736e;hp=8f1ced4ab34cb2fbf0dd3143fa882ce916dafac6;hpb=c4366889dda8110247be59ca41fddb82951a8c26;p=linux-2.6 diff --git a/sound/sound_core.c b/sound/sound_core.c index 8f1ced4ab3..46daca1755 100644 --- a/sound/sound_core.c +++ b/sound/sound_core.c @@ -436,7 +436,7 @@ EXPORT_SYMBOL(unregister_sound_dsp); static int soundcore_open(struct inode *, struct file *); -static struct file_operations soundcore_fops= +static const struct file_operations soundcore_fops= { /* We must have an owner or the module locking fails */ .owner = THIS_MODULE,