summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gnss/core.c')
-rw-r--r--drivers/gnss/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gnss/core.c b/drivers/gnss/core.c
index 320cfca80d5f..e6f94501cb28 100644
--- a/drivers/gnss/core.c
+++ b/drivers/gnss/core.c
@@ -42,7 +42,7 @@ static int gnss_open(struct inode *inode, struct file *file)
get_device(&gdev->dev);
- nonseekable_open(inode, file);
+ stream_open(inode, file);
file->private_data = gdev;
down_write(&gdev->rwsem);