From f440c4949ebc5ed0fea88cef5805419659daa8b5 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Mon, 3 Jan 2011 14:48:58 +0100 Subject: scull: Change scull_ioctl signature --- scull/main.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.1-18-gbd029