From de1bfbd379b4301762e06962b5566c2e7fe47f83 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Mon, 3 Jan 2011 14:02:56 +0100 Subject: scull: BKL ioctl pushdown API change and use sema_init() instead init_MUTEX() --- scull/scull.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scull/scull.h') 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); /* -- cgit v1.2.1-18-gbd029