Commit 5eb969d0e8b8f38fca0b2c6c76f5dca01449664a
Committed by
Benjamin Herrenschmidt
1 parent
cc293bf7a9
Exists in
master
and in
20 other branches
macintosh: Convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
drivers/macintosh/mac_hid.c
... | ... | @@ -181,7 +181,7 @@ |
181 | 181 | mac_hid_destroy_emumouse(); |
182 | 182 | } |
183 | 183 | |
184 | -static int mac_hid_toggle_emumouse(ctl_table *table, int write, | |
184 | +static int mac_hid_toggle_emumouse(struct ctl_table *table, int write, | |
185 | 185 | void __user *buffer, size_t *lenp, |
186 | 186 | loff_t *ppos) |
187 | 187 | { |
... | ... | @@ -214,7 +214,7 @@ |
214 | 214 | } |
215 | 215 | |
216 | 216 | /* file(s) in /proc/sys/dev/mac_hid */ |
217 | -static ctl_table mac_hid_files[] = { | |
217 | +static struct ctl_table mac_hid_files[] = { | |
218 | 218 | { |
219 | 219 | .procname = "mouse_button_emulation", |
220 | 220 | .data = &mouse_emulate_buttons, |
... | ... | @@ -240,7 +240,7 @@ |
240 | 240 | }; |
241 | 241 | |
242 | 242 | /* dir in /proc/sys/dev */ |
243 | -static ctl_table mac_hid_dir[] = { | |
243 | +static struct ctl_table mac_hid_dir[] = { | |
244 | 244 | { |
245 | 245 | .procname = "mac_hid", |
246 | 246 | .maxlen = 0, |
... | ... | @@ -251,7 +251,7 @@ |
251 | 251 | }; |
252 | 252 | |
253 | 253 | /* /proc/sys/dev itself, in case that is not there yet */ |
254 | -static ctl_table mac_hid_root_dir[] = { | |
254 | +static struct ctl_table mac_hid_root_dir[] = { | |
255 | 255 | { |
256 | 256 | .procname = "dev", |
257 | 257 | .maxlen = 0, |