X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fsound_core.c;h=46daca1755028d9ac73a4270deda963a11ef6cc9;hb=7607341a265a56cdf8b4bf10d355098e80ea481b;hp=8f1ced4ab34cb2fbf0dd3143fa882ce916dafac6;hpb=7e23772f414cdbfb2a08aed237d6e926bb1cb728;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,