summaryrefslogtreecommitdiff
path: root/drivers/spi/spidev.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-05-20 11:54:21 +0100
committerMark Brown <broonie@kernel.org>2019-05-20 11:54:21 +0100
commiteceb995e04b74204c73f9dd0ccb19061d5082063 (patch)
tree265d09722dbaaa4a4c97619d763a40d2be954f16 /drivers/spi/spidev.c
parent318dacbd049b447a5b45290b39f1c889b9cbde4d (diff)
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
Merge tag 'v5.2-rc1' into spi-5.3
Linux 5.2-rc1
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r--drivers/spi/spidev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 70966e10be7e..ce9142d87f41 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -593,7 +593,7 @@ static int spidev_open(struct inode *inode, struct file *filp)
spidev->users++;
filp->private_data = spidev;
- nonseekable_open(inode, filp);
+ stream_open(inode, filp);
mutex_unlock(&device_list_lock);
return 0;