hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/watchdog/sbc8360.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * SBC8360 Watchdog driver
34 *
....@@ -18,11 +19,6 @@
1819 *
1920 * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>,
2021 * 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.
2622 *
2723 * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide
2824 * warranty for any of this software. This material is provided
....@@ -271,7 +267,7 @@
271267 /* Activate and ping once to start the countdown */
272268 sbc8360_activate();
273269 sbc8360_ping();
274
- return nonseekable_open(inode, file);
270
+ return stream_open(inode, file);
275271 }
276272
277273 static int sbc8360_close(struct inode *inode, struct file *file)