Skip to content

Commit

Permalink
Staging: panel: Adjust range for PANEL_KEYPAD in Kconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
PeterHuewe authored and gregkh committed Dec 23, 2009
1 parent a6a6c90 commit ae08961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/panel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ae08961

Please sign in to comment.