projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be5049
)
vflash: fix for v2.6.36
author
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:20:38 +0000
(11:20 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 1 Aug 2011 03:20:38 +0000
(11:20 +0800)
drivers/bluetooth/vflash.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/vflash.c
b/drivers/bluetooth/vflash.c
index 746c2f0b4940738363eaebe1fa46106752eafd93..44070a74b352c434180a62bb741f48bb7e5a7cc6 100755
(executable)
--- a/
drivers/bluetooth/vflash.c
+++ b/
drivers/bluetooth/vflash.c
@@
-14,6
+14,7
@@
#include <linux/miscdevice.h>
\r
#include <linux/fs.h>
\r
#include <linux/platform_device.h>
\r
+#include <linux/slab.h>
\r
#include <asm/uaccess.h>
\r
\r
#if 0
\r
@@
-123,7
+124,7
@@
static int vflash_release(struct inode *inode, struct file *file)
\r
static const struct file_operations vflash_fops = {
\r
.owner = THIS_MODULE,
\r
- .
ioctl
= vflash_ioctl,
\r
+ .
unlocked_ioctl
= vflash_ioctl,
\r
.open = vflash_open,
\r
.release = vflash_release,
\r
};
\r