summaryrefslogtreecommitdiff
path: root/drivers/leds/uleds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/uleds.c')
-rw-r--r--drivers/leds/uleds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/uleds.c b/drivers/leds/uleds.c
index 0c43bfac9598..08b6a769ff8f 100644
--- a/drivers/leds/uleds.c
+++ b/drivers/leds/uleds.c
@@ -74,7 +74,7 @@ static int uleds_open(struct inode *inode, struct file *file)
udev->state = ULEDS_STATE_UNKNOWN;
file->private_data = udev;
- nonseekable_open(inode, file);
+ stream_open(inode, file);
return 0;
}