From: Adrian Bunk Date: Wed, 7 Mar 2007 22:41:07 +0000 (+1100) Subject: [POWERPC] drivers/macintosh/mac_hid.c: Make code static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3e5d2bf52514bb92b46bf866d20cc53bbbeb0fb;p=openwrt%2Fstaging%2Fblogic.git [POWERPC] drivers/macintosh/mac_hid.c: Make code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Paul Mackerras --- diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c index 1599dc34f15f..76c1e8e4a487 100644 --- a/drivers/macintosh/mac_hid.c +++ b/drivers/macintosh/mac_hid.c @@ -24,7 +24,7 @@ static int mouse_last_keycode; #if defined(CONFIG_SYSCTL) /* file(s) in /proc/sys/dev/mac_hid */ -ctl_table mac_hid_files[] = { +static ctl_table mac_hid_files[] = { { .ctl_name = DEV_MAC_HID_MOUSE_BUTTON_EMULATION, .procname = "mouse_button_emulation", @@ -53,7 +53,7 @@ ctl_table mac_hid_files[] = { }; /* dir in /proc/sys/dev */ -ctl_table mac_hid_dir[] = { +static ctl_table mac_hid_dir[] = { { .ctl_name = DEV_MAC_HID, .procname = "mac_hid", @@ -65,7 +65,7 @@ ctl_table mac_hid_dir[] = { }; /* /proc/sys/dev itself, in case that is not there yet */ -ctl_table mac_hid_root_dir[] = { +static ctl_table mac_hid_root_dir[] = { { .ctl_name = CTL_DEV, .procname = "dev", @@ -127,7 +127,7 @@ static int emumousebtn_input_register(void) return ret; } -int __init mac_hid_init(void) +static int __init mac_hid_init(void) { int err;