summaryrefslogtreecommitdiff
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorJeff Becker <Jeffrey.C.Becker@nasa.gov>2015-12-18 20:42:51 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-29 06:40:31 (GMT)
commit911b04d61d28667f2841319939121678198bf1db (patch)
tree1a3e1ca8a17d4c2ad63e143a6e3c804f02924842 /drivers/staging/speakup
parentd86b4a71ca579914c971ae949335b4e971eec213 (diff)
downloadlinux-911b04d61d28667f2841319939121678198bf1db.tar.xz
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>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/fakekey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c
index 5e1f16c..092dbe2 100644
--- a/drivers/staging/speakup/fakekey.c
+++ b/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;