]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/macintosh/mac_hid.c
sysctl: pass kernel pointers to ->proc_handler
[mirror_ubuntu-hirsute-kernel.git] / drivers / macintosh / mac_hid.c
index 7af0c536d568f1367a7dc35c8ea62eafdb751d2a..28b8581b44dda63af4b749167df9f63864e629c2 100644 (file)
@@ -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;