diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-13 08:50:05 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:14:21 -0500 |
commit | 17a1b5e3748f2d890d24c7eb3b1c11de2e0b9a00 (patch) | |
tree | 6ffb49f97876c2cd850193095e0a00767008e075 /arch/blackfin/mach-bf561 | |
parent | d2e015d65fc692475b8513259d6afacd2cded8e8 (diff) |
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>
Diffstat (limited to 'arch/blackfin/mach-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/coreb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf561/coreb.c b/arch/blackfin/mach-bf561/coreb.c index 1e60a92dd602..deb2271d09a3 100644 --- a/arch/blackfin/mach-bf561/coreb.c +++ b/arch/blackfin/mach-bf561/coreb.c | |||
@@ -22,8 +22,8 @@ | |||
22 | #define CMD_COREB_STOP 3 | 22 | #define CMD_COREB_STOP 3 |
23 | #define CMD_COREB_RESET 4 | 23 | #define CMD_COREB_RESET 4 |
24 | 24 | ||
25 | static int | 25 | static long |
26 | coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) | 26 | coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg) |
27 | { | 27 | { |
28 | int ret = 0; | 28 | int ret = 0; |
29 | 29 | ||
@@ -49,8 +49,8 @@ coreb_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned l | |||
49 | } | 49 | } |
50 | 50 | ||
51 | static const struct file_operations coreb_fops = { | 51 | static const struct file_operations coreb_fops = { |
52 | .owner = THIS_MODULE, | 52 | .owner = THIS_MODULE, |
53 | .ioctl = coreb_ioctl, | 53 | .unlocked_ioctl = coreb_ioctl, |
54 | }; | 54 | }; |
55 | 55 | ||
56 | static struct miscdevice coreb_dev = { | 56 | static struct miscdevice coreb_dev = { |