MIPS: jz4740: qi_lb60: Fix gpio for the 6th row of the keyboard matrix
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...)
Signed-off-by Lars-Peter Clausen <[email protected]>
--- 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
@@ -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
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.
Signed-off-by Lars-Peter Clausen <[email protected]>
--- arch/mips/jz4740/prom.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/jz4740/prom.c +1 -1
@@ -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
Ralf Baechle
AppliedRe: [PATCH] MIPS: JZ4740: prom: Fix section mismatch
Thanks, applied.
Ralf
Ralf Baechle
AppliedThanks, applied.
Ralf