projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a6c90
)
Staging: panel: Adjust range for PANEL_KEYPAD in Kconfig
author
Peter Huewe
<peterhuewe@gmx.de>
Tue, 15 Dec 2009 05:37:36 +0000
(06:37 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 23 Dec 2009 19:27:49 +0000
(11:27 -0800)
In panel.c there are only the values 0-3 defined. So 4 is invalid:
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/panel/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/staging/panel/Kconfig
b/drivers/staging/panel/Kconfig
index
3abe7c9
..
3defa01
100644
(file)
--- a/
drivers/staging/panel/Kconfig
+++ b/
drivers/staging/panel/Kconfig
@@
-47,7
+47,7
@@
config PANEL_PROFILE
config PANEL_KEYPAD
depends on PANEL && PANEL_PROFILE="0"
int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"
- range 0
4
+ range 0
3
default 0
---help---
This enables and configures a keypad connected to the parallel port.