forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/s390/char/fs3270.c
....@@ -8,7 +8,7 @@
88 * Copyright IBM Corp. 2003, 2009
99 */
1010
11
-#include <linux/bootmem.h>
11
+#include <linux/memblock.h>
1212 #include <linux/console.h>
1313 #include <linux/init.h>
1414 #include <linux/interrupt.h>
....@@ -486,7 +486,7 @@
486486 raw3270_del_view(&fp->view);
487487 goto out;
488488 }
489
- nonseekable_open(inode, filp);
489
+ stream_open(inode, filp);
490490 filp->private_data = fp;
491491 out:
492492 mutex_unlock(&fs3270_mutex);