Skip to content

Commit

Permalink
Blackfin: coreb: switched to unlocked_ioctl
Browse files Browse the repository at this point in the history
We don't need the BKL and now people will stop looking at this.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Dec 15, 2009
1 parent d2e015d commit 17a1b5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/blackfin/mach-bf561/coreb.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#define CMD_COREB_STOP 3
#define CMD_COREB_RESET 4

static int
coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
static long
coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
int ret = 0;

Expand All @@ -49,8 +49,8 @@ coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned l
}

static const struct file_operations coreb_fops = {
.owner = THIS_MODULE,
.ioctl = coreb_ioctl,
.owner = THIS_MODULE,
.unlocked_ioctl = coreb_ioctl,
};

static struct miscdevice coreb_dev = {
Expand Down

0 comments on commit 17a1b5e

Please sign in to comment.