]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/watchdog/sc520_wdt.c
dpaa2-eth: Fix TX FQID values
[linux.git] / drivers / watchdog / sc520_wdt.c
index 403542f9ed8dfd21b5bfcfc5e26ffbc3ca72b3d6..a612128c5f808ae7bb9794e49f4cc863009ac50d 100644 (file)
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *     AMD Elan SC520 processor Watchdog Timer driver
  *
  *     Based on acquirewdt.c by Alan Cox,
  *          and sbc60xxwdt.c by Jakob Oestergaard <jakob@unthought.net>
  *
- *     This program is free software; you can redistribute it and/or
- *     modify it under the terms of the GNU General Public License
- *     as published by the Free Software Foundation; either version
- *     2 of the License, or (at your option) any later version.
- *
  *     The authors do NOT admit liability nor provide warranty for
  *     any of this software. This material is provided "AS-IS" in
  *     the hope that it may be useful for others.
@@ -258,7 +254,7 @@ static int fop_open(struct inode *inode, struct file *file)
 
        /* Good, fire up the show */
        wdt_startup();
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int fop_close(struct inode *inode, struct file *file)