Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix
@ 2010-11-04 22:25 Lars-Peter Clausen
  2010-11-04 22:25 ` [PATCH] MIPS: JZ4740: prom: Fix section mismatch Lars-Peter Clausen
  2010-11-05  0:10 ` [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix Ralf Baechle
  0 siblings, 2 replies; 4+ messages in thread
From: Lars-Peter Clausen @ 2010-11-04 22:25 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips, Lars-Peter Clausen, stable

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

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,
 };
 
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] MIPS: JZ4740: prom: Fix section mismatch
  2010-11-04 22:25 [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix Lars-Peter Clausen
@ 2010-11-04 22:25 ` Lars-Peter Clausen
  2010-11-05  0:10   ` Ralf Baechle
  2010-11-05  0:10 ` [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix Ralf Baechle
  1 sibling, 1 reply; 4+ messages in thread
From: Lars-Peter Clausen @ 2010-11-04 22:25 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips, Lars-Peter Clausen

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.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 arch/mips/jz4740/prom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/jz4740/prom.c b/arch/mips/jz4740/prom.c
index cfeac15..4a70407 100644
--- a/arch/mips/jz4740/prom.c
+++ b/arch/mips/jz4740/prom.c
@@ -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;
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix
  2010-11-04 22:25 [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix Lars-Peter Clausen
  2010-11-04 22:25 ` [PATCH] MIPS: JZ4740: prom: Fix section mismatch Lars-Peter Clausen
@ 2010-11-05  0:10 ` Ralf Baechle
  1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2010-11-05  0:10 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: linux-mips, stable

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] MIPS: JZ4740: prom: Fix section mismatch
  2010-11-04 22:25 ` [PATCH] MIPS: JZ4740: prom: Fix section mismatch Lars-Peter Clausen
@ 2010-11-05  0:10   ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2010-11-05  0:10 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: linux-mips

Thanks, applied.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-05  0:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-04 22:25 [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix Lars-Peter Clausen
2010-11-04 22:25 ` [PATCH] MIPS: JZ4740: prom: Fix section mismatch Lars-Peter Clausen
2010-11-05  0:10   ` Ralf Baechle
2010-11-05  0:10 ` [PATCH] MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox