drivers/macintosh/mac_hid.c: make code static
PATCH 1/1 drivers/macintosh/mac_hid.c: make code static
This patch makes some needlessly global code static.
Signed-off-by Adrian Bunk <[email protected]>
---
This patch was already sent on:
- 6 Feb 2007
drivers/macintosh/mac_hid.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/macintosh/mac_hid.c renamed from drivers/macintosh/mac_hid.c.old +4 -4
@@ -24,7 +24,7 @@ #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 @@ };/* 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 @@ };/* /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" ,
@@ -129,7 +129,7 @@return ret; } -int __init mac_hid_init (void ) +static int __init mac_hid_init (void ) {int err;