llseek: automatically add .llseek fop
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / s390 / char / tape_char.c
index 539045acaad42875e03f7225f0249b55251c8e30..883e2db02bd3c8351e8195b5b45b12e84dd44fbf 100644 (file)
@@ -53,6 +53,7 @@ static const struct file_operations tape_fops =
 #endif
        .open = tapechar_open,
        .release = tapechar_release,
+       .llseek = no_llseek,
 };
 
 static int tapechar_major = TAPECHAR_MAJOR;