Skip to contentSkip to conversation

drivers/staging/panel: Adjust range for PANEL_KEYPAD in Kconfig

PATCH New Peter Huewe 1 participant 1 message Dec 15, 2009 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/staging/panel: Adjust range for PANEL_KEYPAD in Kconfig

In panel.c there are only the values 0-3 defined. So 4 is invalid:

Patch against current linux-next tree at Tue Dec 15 06:31:01 2009 +0100

---
 drivers/staging/panel/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/panel/Kconfig +1 -1
index 3abe7c9..3defa01 100644
@@ -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.
Signature · 1 line
1.6.4.4