Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Benjamin Herrenschmidt
5eb969d0 cc293bf7

+4 -4
+4 -4
drivers/macintosh/mac_hid.c
··· 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 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 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 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,