llseek: automatically add .llseek fop
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / sound / core / sound.c
index ac42af42b78709d367713e49626440c116ba3ca2..62a093efb453cc5d9657e4a3ce822ce42ca07748 100644 (file)
@@ -184,7 +184,8 @@ static int snd_open(struct inode *inode, struct file *file)
 static const struct file_operations snd_fops =
 {
        .owner =        THIS_MODULE,
-       .open =         snd_open
+       .open =         snd_open,
+       .llseek =       noop_llseek,
 };
 
 #ifdef CONFIG_SND_DYNAMIC_MINORS