MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix

Message ID 1288909557-20088-1-git-send-email-lars@metafoo.de
State Accepted
Delegated to: Ralf Baechle
Headers show

Commit Message

Lars-Peter Clausen Nov. 4, 2010, 10:25 p.m.
This patch fixes the gpio number for the 6th row of the keyboard matrix.

(And fixes a typo in my name...)

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@kernel.org
---
 arch/mips/jz4740/board-qi_lb60.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)A
---
This patch should go into 2.6.36.x stable

Comments

root Nov. 5, 2010, 12:10 a.m. | #1
Thanks, applied.

  Ralf

Patch

diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
index 3221846..05297ef 100644
--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -5,7 +5,7 @@ 
  *
  * Copyright (c) 2009 Qi Hardware inc.,
  * Author: Xiangfu Liu <xiangfu@qi-hardware.com>
- * Copyright 2010, Lars-Petrer Clausen <lars@metafoo.de>
+ * Copyright 2010, Lars-Peter Clausen <lars@metafoo.de>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 or later
@@ -236,7 +236,7 @@  static const unsigned int qi_lb60_keypad_rows[] = {
 	QI_LB60_GPIO_KEYIN(3),
 	QI_LB60_GPIO_KEYIN(4),
 	QI_LB60_GPIO_KEYIN(5),
-	QI_LB60_GPIO_KEYIN(7),
+	QI_LB60_GPIO_KEYIN(6),
 	QI_LB60_GPIO_KEYIN8,
 };