llseek: automatically add .llseek fop
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / platforms / pseries / reconfig.c
index 57ddbb43b33ae869854b7ffa2eb27ab036d423df..1de2cbb92303c880cf9c41b4635baf03f13d1a6b 100644 (file)
@@ -539,7 +539,8 @@ out:
 }
 
 static const struct file_operations ofdt_fops = {
-       .write = ofdt_write
+       .write = ofdt_write,
+       .llseek = noop_llseek,
 };
 
 /* create /proc/powerpc/ofdt write-only by root */