forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/macintosh/mac_hid.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * drivers/macintosh/mac_hid.c
34 *
....@@ -182,8 +183,7 @@
182183 }
183184
184185 static int mac_hid_toggle_emumouse(struct ctl_table *table, int write,
185
- void __user *buffer, size_t *lenp,
186
- loff_t *ppos)
186
+ void *buffer, size_t *lenp, loff_t *ppos)
187187 {
188188 int *valp = table->data;
189189 int old_val = *valp;