Browse Source

STAGING/SPEAKUP: Fix "expression using sizeof bool" warnings

Fix "warning: expression using sizeof bool" messages caught by sparse.
Resending directly to SPEAKUP maintainers.

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jeff Becker 9 years ago
parent
commit
911b04d61d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/speakup/fakekey.c

+ 1 - 1
drivers/staging/speakup/fakekey.c

@@ -28,7 +28,7 @@
 #define PRESSED 1
 #define RELEASED 0
 
-static DEFINE_PER_CPU(bool, reporting_keystroke);
+static DEFINE_PER_CPU(int, reporting_keystroke);
 
 static struct input_dev *virt_keyboard;