diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-01-02 01:36:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 22:08:15 (GMT) |
commit | d9f5420268ca9b2bbe62f14757fac3e10eaf1ebf (patch) | |
tree | 5658c7d435c0cea0ec707a9100e4ad8274c85236 /drivers | |
parent | ca2beaf84d9678c12b17d92623f0e90829d6ca13 (diff) | |
download | linux-d9f5420268ca9b2bbe62f14757fac3e10eaf1ebf.tar.xz |
staging: speakup: Turn some symbols static
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/speakup/fakekey.c | 2 | ||||
-rw-r--r-- | drivers/staging/speakup/main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c index 1b34a87..4299cf4 100644 --- a/drivers/staging/speakup/fakekey.c +++ b/drivers/staging/speakup/fakekey.c @@ -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 --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 463d125..9916e94 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -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, }; |