wd_dev.initialized = 1;
}
- return(nonseekable_open(inode, f));
+ return(0);
}
static int wd_release(struct inode *inode, struct file *file)
return(-EINVAL);
}
+ if (ppos != &file->f_pos)
+ return -ESPIPE;
+
if (count) {
wd_pingtimer(pTimer);
return 1;