diff options
author | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-03 14:48:58 +0100 |
---|---|---|
committer | Javier Martinez Canillas <martinez.javier@gmail.com> | 2011-01-08 01:52:02 +0100 |
commit | 4258b09a6f03c1b1c1a654085629d7201d4e6845 (patch) | |
tree | 3c27aecc5fd0289fa55b414162393044bd2fd2f7 /scull | |
parent | 2733750538721f5e0703a1c4fc6abf0d0ee2c33f (diff) | |
download | ldd3-4258b09a6f03c1b1c1a654085629d7201d4e6845.tar.gz |
scull: Change scull_ioctl signature
Diffstat (limited to 'scull')
-rw-r--r-- | scull/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scull/main.c b/scull/main.c index 1bf14a7..3c78fba 100644 --- a/scull/main.c +++ b/scull/main.c @@ -389,8 +389,7 @@ ssize_t scull_write(struct file *filp, const char __user *buf, size_t count, * The ioctl() implementation */ -int scull_ioctl(struct file *filp, unsigned int cmd, - unsigned long arg) +long scull_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { int err = 0, tmp; |