From: 黄涛 Date: Mon, 1 Aug 2011 03:20:38 +0000 (+0800) Subject: vflash: fix for v2.6.36 X-Git-Tag: firefly_0821_release~9808 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d94b9b46829e19de2e6e5d0c9c7658a6f27a9264;p=firefly-linux-kernel-4.4.55.git vflash: fix for v2.6.36 --- diff --git a/drivers/bluetooth/vflash.c b/drivers/bluetooth/vflash.c index 746c2f0b4940..44070a74b352 100755 --- a/drivers/bluetooth/vflash.c +++ b/drivers/bluetooth/vflash.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #if 0 @@ -123,7 +124,7 @@ static int vflash_release(struct inode *inode, struct file *file) static const struct file_operations vflash_fops = { .owner = THIS_MODULE, - .ioctl = vflash_ioctl, + .unlocked_ioctl = vflash_ioctl, .open = vflash_open, .release = vflash_release, };