From d94b9b46829e19de2e6e5d0c9c7658a6f27a9264 Mon Sep 17 00:00:00 2001
From: =?utf8?q?=E9=BB=84=E6=B6=9B?= <huangtao@rock-chips.com>
Date: Mon, 1 Aug 2011 11:20:38 +0800
Subject: [PATCH] vflash: fix for v2.6.36

---
 drivers/bluetooth/vflash.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 <linux/miscdevice.h>
 #include <linux/fs.h>
 #include <linux/platform_device.h>
+#include <linux/slab.h>
 #include <asm/uaccess.h>
 
 #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,
 };
-- 
2.34.1