Turn static some symbols which do not actually need to be
externally-visible

Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org>

diff -ur linux/drivers/staging/speakup-orig/fakekey.c 
linux/drivers/staging/speakup/fakekey.c
--- linux/drivers/staging/speakup-orig/fakekey.c        2011-10-24 
09:10:05.000000000 +0200
+++ linux/drivers/staging/speakup/fakekey.c     2013-01-01 23:29:42.594104874 
+0100
@@ -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;
 
diff -ur linux/drivers/staging/speakup-orig/main.c 
linux/drivers/staging/speakup/main.c
--- linux/drivers/staging/speakup-orig/main.c   2012-10-01 14:19:04.552069389 
+0200
+++ linux/drivers/staging/speakup/main.c        2013-01-01 23:38:06.587701022 
+0100
@@ -251,14 +251,14 @@
 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,
 };
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to