Commit 17a1b5e3 authored by Mike Frysinger's avatar Mike Frysinger

Blackfin: coreb: switched to unlocked_ioctl

We don't need the BKL and now people will stop looking at this.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent d2e015d6
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
#define CMD_COREB_STOP 3 #define CMD_COREB_STOP 3
#define CMD_COREB_RESET 4 #define CMD_COREB_RESET 4
static int static long
coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{ {
int ret = 0; int ret = 0;
...@@ -49,8 +49,8 @@ coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned l ...@@ -49,8 +49,8 @@ coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned l
} }
static const struct file_operations coreb_fops = { static const struct file_operations coreb_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.ioctl = coreb_ioctl, .unlocked_ioctl = coreb_ioctl,
}; };
static struct miscdevice coreb_dev = { static struct miscdevice coreb_dev = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment