Skip to contentSkip to conversation

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

PATCH Applied Lars-Peter Clausen 2 participants 4 messages Nov 4, 2010 – Nov 5, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

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

This patch fixes the gpio number for the 6th row of the keyboard matrix.

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

---
 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

arch/mips/jz4740/board-qi_lb60.c +2 -2
index 3221846..05297ef 100644
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 2009 Qi Hardware inc.,
  * Author: Xiangfu Liu <[email protected]>
- * Copyright 2010, Lars-Petrer Clausen <[email protected]>
+ * Copyright 2010, Lars-Peter Clausen <[email protected]>
  *
  * 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,
 };
 
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 MIPS: JZ4740: prom: Fix section mismatch

This patch fixes the following section mismatch:

	WARNING: arch/mips/built-in.o(.text+0xc): Section mismatch in reference from the
	function jz4740_init_cmdline() to the variable .init.data:arcs_cmdline

While were at it, make jz4740_init_cmdline static as well.

---
 arch/mips/jz4740/prom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/jz4740/prom.c +1 -1
index cfeac15..4a70407 100644
@@ -23,7 +23,7 @@
 #include <asm/bootinfo.h>
 #include <asm/mach-jz4740/base.h>
 
-void jz4740_init_cmdline(int argc, char *argv[])
+static __init void jz4740_init_cmdline(int argc, char *argv[])
 {
 	unsigned int count = COMMAND_LINE_SIZE - 1;
 	int i;
Signature · 1 line
1.5.6.5
Applied
#2 lore raw

Re: [PATCH] MIPS: JZ4740: prom: Fix section mismatch

Thanks, applied.

Ralf