diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-03 14:02:56 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-03 14:02:56 +0100 |
commit | ccd3e1cc6a94d540759e9a1e6973abbd0f20da2a (patch) | |
tree | f23383d6da47e1c923763e2ff5e33b697ae511a3 /scull/scull.h | |
parent | a935346fdc09d5ab442f9375e0674e92ad7d2965 (diff) | |
download | ldd3-ccd3e1cc6a94d540759e9a1e6973abbd0f20da2a.tar.gz |
scull: BKL ioctl pushdown API change and use sema_init() instead init_MUTEX()
Diffstat (limited to 'scull/scull.h')
-rw-r--r-- | scull/scull.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scull/scull.h b/scull/scull.h index ac7362a..5b513e4 100644 --- a/scull/scull.h +++ b/scull/scull.h @@ -128,8 +128,7 @@ ssize_t scull_read(struct file *filp, char __user *buf, size_t count, ssize_t scull_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos); loff_t scull_llseek(struct file *filp, loff_t off, int whence); -int scull_ioctl(struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg); +int scull_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); /* |