.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0+ |
---|
1 | 2 | /* |
---|
2 | 3 | * SBC8360 Watchdog driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
18 | 19 | * |
---|
19 | 20 | * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, |
---|
20 | 21 | * All Rights Reserved. |
---|
21 | | - * |
---|
22 | | - * This program is free software; you can redistribute it and/or |
---|
23 | | - * modify it under the terms of the GNU General Public License |
---|
24 | | - * as published by the Free Software Foundation; either version |
---|
25 | | - * 2 of the License, or (at your option) any later version. |
---|
26 | 22 | * |
---|
27 | 23 | * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide |
---|
28 | 24 | * warranty for any of this software. This material is provided |
---|
.. | .. |
---|
271 | 267 | /* Activate and ping once to start the countdown */ |
---|
272 | 268 | sbc8360_activate(); |
---|
273 | 269 | sbc8360_ping(); |
---|
274 | | - return nonseekable_open(inode, file); |
---|
| 270 | + return stream_open(inode, file); |
---|
275 | 271 | } |
---|
276 | 272 | |
---|
277 | 273 | static int sbc8360_close(struct inode *inode, struct file *file) |
---|