[PATCH] mark struct file_operations const 9
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / sound / core / oss / pcm_oss.c
index 786a82e68890c86247052513f6c72b2d9e3523d3..c4744bb07f4119c2ee930953fd9049b7daa9e210 100644 (file)
@@ -2889,7 +2889,7 @@ static void snd_pcm_oss_proc_done(struct snd_pcm *pcm)
  *  ENTRY functions
  */
 
-static struct file_operations snd_pcm_oss_f_reg =
+static const struct file_operations snd_pcm_oss_f_reg =
 {
        .owner =        THIS_MODULE,
        .read =         snd_pcm_oss_read,