OSDN Git Service

Merge tag 'linux-watchdog-5.2-rc1' of git://www.linux-watchdog.org/linux-watchdog
[uclinux-h8/linux.git] / drivers / watchdog / sb_wdog.c
index 8264fce..5a6ced7 100644 (file)
@@ -105,7 +105,7 @@ static const struct watchdog_info ident = {
  */
 static int sbwdog_open(struct inode *inode, struct file *file)
 {
-       nonseekable_open(inode, file);
+       stream_open(inode, file);
        if (test_and_set_bit(0, &sbwdog_gate))
                return -EBUSY;
        __module_get(THIS_MODULE);