mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 04:06:53 +07:00
Blackfin: coreb: switched to unlocked_ioctl
We don't need the BKL and now people will stop looking at this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
d2e015d65f
commit
17a1b5e374
@ -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;
|
||||
|
||||
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user