staging: speakup: Turn some symbols static
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 2 Jan 2013 01:36:56 +0000 (02:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:08:15 +0000 (14:08 -0800)
Turn static some symbols which do not actually need to be
externally-visible

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/fakekey.c
drivers/staging/speakup/main.c

index 1b34a87716418b8af6248d0540d9958f2b0cbd2e..4299cf45f947ded9433fa045c1cb54bc957a02c4 100644 (file)
@@ -28,7 +28,7 @@
 #define PRESSED 1
 #define RELEASED 0
 
-DEFINE_PER_CPU(bool, reporting_keystroke);
+static DEFINE_PER_CPU(bool, reporting_keystroke);
 
 static struct input_dev *virt_keyboard;
 
index 463d125ee77b0233cf9c2e9de206ec76235f0791..9916e94aa3612323f55206cb42c11b75ca56e5df 100644 (file)
@@ -251,14 +251,14 @@ DEFINE_MUTEX(spk_mutex);
 static int keyboard_notifier_call(struct notifier_block *,
                                  unsigned long code, void *param);
 
-struct notifier_block keyboard_notifier_block = {
+static struct notifier_block keyboard_notifier_block = {
        .notifier_call = keyboard_notifier_call,
 };
 
 static int vt_notifier_call(struct notifier_block *,
                            unsigned long code, void *param);
 
-struct notifier_block vt_notifier_block = {
+static struct notifier_block vt_notifier_block = {
        .notifier_call = vt_notifier_call,
 };