linux-mips
[Top] [All Lists]

[PATCH] MIPS: ralink: add missing define for RT3883_GPIO_11

To: John Crispin <blogic@openwrt.org>
Subject: [PATCH] MIPS: ralink: add missing define for RT3883_GPIO_11
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 26 Apr 2013 17:29:00 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, Gabor Juhos <juhosg@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The RT3883_GPIO_11 symbol is not declared anywhere and
this causes the following error:

  CC      arch/mips/ralink/rt3883.o
arch/mips/ralink/rt3883.c:101:17: error: 'RT3883_GPIO_11' undeclared here (not 
in a function)
make[6]: *** [arch/mips/ralink/rt3883.o] Error 1

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
John,

The error is introduced by the following change:
'MIPS: ralink: adds support for RT3883 SoC family'
in the mips-next-3.10 branch of your tree at lmo.

This change should be folded into that commit if
possible.

Regards,
Gabor
---
 arch/mips/include/asm/mach-ralink/rt3883.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/include/asm/mach-ralink/rt3883.h 
b/arch/mips/include/asm/mach-ralink/rt3883.h
index e58e06f..058382f 100644
--- a/arch/mips/include/asm/mach-ralink/rt3883.h
+++ b/arch/mips/include/asm/mach-ralink/rt3883.h
@@ -152,6 +152,7 @@
 #define RT3883_GPIO_SPI_MISO           6
 #define RT3883_GPIO_7                  7
 #define RT3883_GPIO_10                 10
+#define RT3883_GPIO_11                 11
 #define RT3883_GPIO_14                 14
 #define RT3883_GPIO_UART1_TXD          15
 #define RT3883_GPIO_UART1_RXD          16
-- 
1.7.10


<Prev in Thread] Current Thread [Next in Thread>