Skip to content

Commit

Permalink
staging: speakup: Turn some symbols static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sthibaul authored and gregkh committed Jan 7, 2013
1 parent ca2beaf commit d9f5420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/speakup/fakekey.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/speakup/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit d9f5420

Please sign in to comment.