.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * User-space I/O driver support for HID subsystem |
---|
3 | 4 | * Copyright (c) 2012 David Herrmann |
---|
4 | 5 | */ |
---|
5 | 6 | |
---|
6 | 7 | /* |
---|
7 | | - * This program is free software; you can redistribute it and/or modify it |
---|
8 | | - * under the terms of the GNU General Public License as published by the Free |
---|
9 | | - * Software Foundation; either version 2 of the License, or (at your option) |
---|
10 | | - * any later version. |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #include <linux/atomic.h> |
---|
.. | .. |
---|
653 | 650 | INIT_WORK(&uhid->worker, uhid_device_add_worker); |
---|
654 | 651 | |
---|
655 | 652 | file->private_data = uhid; |
---|
656 | | - nonseekable_open(inode, file); |
---|
| 653 | + stream_open(inode, file); |
---|
657 | 654 | |
---|
658 | 655 | return 0; |
---|
659 | 656 | } |
---|