projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ded8ee4
)
serial2002: old 'ioctl' file operation removed in 2.6.36.
author
Ian Abbott
<abbotti@mev.co.uk>
Fri, 8 Oct 2010 14:30:02 +0000
(14:30 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Fri, 8 Oct 2010 14:30:02 +0000
(14:30 +0000)
comedi/drivers/serial2002.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/serial2002.c
b/comedi/drivers/serial2002.c
index 3cb817a1ac05f99a0a3ce8621e857260e4caae95..c0335f47ac95c33c184993b5655520bff20a86ad 100644
(file)
--- a/
comedi/drivers/serial2002.c
+++ b/
comedi/drivers/serial2002.c
@@
-122,9
+122,11
@@
static long tty_ioctl(struct file *f, unsigned op, unsigned long param)
return f->f_op->unlocked_ioctl(f, op, param);
}
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)
if (f->f_op->ioctl) {
return f->f_op->ioctl(f->f_dentry->d_inode, f, op, param);
}
+#endif
return -ENOSYS;
}