Skip to content

Commit

Permalink
scullv: BKL ioctl pushdown API change
Browse files Browse the repository at this point in the history
  • Loading branch information
martinezjavier committed Jan 8, 2011
1 parent d6c73e6 commit 2e1ee9a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scullv/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,7 @@ ssize_t scullv_write (struct file *filp, const char __user *buf, size_t count,
* The ioctl() implementation
*/

int scullv_ioctl (struct inode *inode, struct file *filp,
unsigned int cmd, unsigned long arg)
long scullv_ioctl (struct file *filp, unsigned int cmd, unsigned long arg)
{

int err = 0, ret = 0, tmp;
Expand Down Expand Up @@ -479,7 +478,7 @@ struct file_operations scullv_fops = {
.llseek = scullv_llseek,
.read = scullv_read,
.write = scullv_write,
.ioctl = scullv_ioctl,
.unlocked_ioctl = scullv_ioctl,
.mmap = scullv_mmap,
.open = scullv_open,
.release = scullv_release,
Expand Down

0 comments on commit 2e1ee9a

Please sign in to comment.