diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-03 14:51:48 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-08 01:52:02 +0100 |
commit | d6c73e6218459b794be24e09bd5f4a5dfe663764 (patch) | |
tree | 0d272bef2b10af7116d99f89dfa0d9b3891c0c52 /scullp | |
parent | 48c14e3f69ae82c767c917bad1abd5c7884bdb9b (diff) | |
download | ldd3-d6c73e6218459b794be24e09bd5f4a5dfe663764.tar.gz |
scullp: BLK ioctl pushdown API change
Diffstat (limited to 'scullp')
-rw-r--r-- | scullp/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scullp/main.c b/scullp/main.c index 0aba67d..20f7c3d 100644 --- a/scullp/main.c +++ b/scullp/main.c @@ -270,8 +270,7 @@ ssize_t scullp_write (struct file *filp, const char __user *buf, size_t count, * The ioctl() implementation */ -int scullp_ioctl (struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg) +long scullp_ioctl (struct file *filp, unsigned int cmd, unsigned long arg) { int err = 0, ret = 0, tmp; @@ -479,7 +478,7 @@ struct file_operations scullp_fops = { .llseek = scullp_llseek, .read = scullp_read, .write = scullp_write, - .ioctl = scullp_ioctl, + .unlocked_ioctl = scullp_ioctl, .mmap = scullp_mmap, .open = scullp_open, .release = scullp_release, |