Skip to content

Commit

Permalink
[POWERPC] drivers/macintosh/mac_hid.c: Make code static
Browse files Browse the repository at this point in the history
This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Adrian Bunk authored and Paul Mackerras committed May 2, 2007
1 parent a3cf4bd commit f3e5d2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/macintosh/mac_hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit f3e5d2b

Please sign in to comment.