projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysctl: pass kernel pointers to ->proc_handler
[linux-block.git]
/
drivers
/
macintosh
/
mac_hid.c
diff --git
a/drivers/macintosh/mac_hid.c
b/drivers/macintosh/mac_hid.c
index 7af0c536d568f1367a7dc35c8ea62eafdb751d2a..28b8581b44dda63af4b749167df9f63864e629c2 100644
(file)
--- a/
drivers/macintosh/mac_hid.c
+++ b/
drivers/macintosh/mac_hid.c
@@
-183,8
+183,7
@@
static void mac_hid_stop_emulation(void)
}
static int mac_hid_toggle_emumouse(struct ctl_table *table, int write,
- void __user *buffer, size_t *lenp,
- loff_t *ppos)
+ void *buffer, size_t *lenp, loff_t *ppos)
{
int *valp = table->data;
int old_val = *valp;