summaryrefslogtreecommitdiff
path: root/drivers/macintosh/mac_hid.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2007-02-10 23:35:12 +0300
committerPaul Mackerras <paulus@samba.org>2007-02-13 07:35:52 +0300
commit872758563d7f132d25fc06857bd19df06c5c70c7 (patch)
treeaf3b813f7e3e0ebd372ac4dfb4a2d865a8ef27e4 /drivers/macintosh/mac_hid.c
parent9ea8b7c96f64f68548976ba65062cee2f2b7d831 (diff)
downloadlinux-872758563d7f132d25fc06857bd19df06c5c70c7.tar.xz
[POWERPC] move variables in drivers/macintosh to bss
Move all the initialized variables to bss. Mark a version string as const. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/mac_hid.c')
-rw-r--r--drivers/macintosh/mac_hid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
index ee6b4ca69130..f632cec9ce45 100644
--- a/drivers/macintosh/mac_hid.c
+++ b/drivers/macintosh/mac_hid.c
@@ -17,10 +17,10 @@
static struct input_dev *emumousebtn;
static int emumousebtn_input_register(void);
-static int mouse_emulate_buttons = 0;
+static int mouse_emulate_buttons;
static int mouse_button2_keycode = KEY_RIGHTCTRL; /* right control key */
static int mouse_button3_keycode = KEY_RIGHTALT; /* right option key */
-static int mouse_last_keycode = 0;
+static int mouse_last_keycode;
#if defined(CONFIG_SYSCTL)
/* file(s) in /proc/sys/dev/mac_hid */