git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'upstream-fixes', 'bkl-removal', 'debugfs-fixes' and 'hid-suspend...
[pandora-kernel.git]
/
drivers
/
hid
/
hidraw.c
diff --git
a/drivers/hid/hidraw.c
b/drivers/hid/hidraw.c
index
7919d3e
..
3ccd478
100644
(file)
--- a/
drivers/hid/hidraw.c
+++ b/
drivers/hid/hidraw.c
@@
-28,6
+28,7
@@
#include <linux/poll.h>
#include <linux/device.h>
#include <linux/major.h>
+#include <linux/slab.h>
#include <linux/hid.h>
#include <linux/mutex.h>
#include <linux/sched.h>
@@
-314,7
+315,7
@@
static long hidraw_ioctl(struct file *file, unsigned int cmd,
-EFAULT : len;
break;
}
-
}
+ }
ret = -ENOTTY;
}