ramips: rt3883: fix build error

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

SVN-Revision: 36451
This commit is contained in:
Gabor Juhos 2013-04-26 16:55:28 +00:00
parent 05c1424e87
commit c63bb1a18e
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5185/
--- /dev/null --- /dev/null
+++ b/arch/mips/include/asm/mach-ralink/rt3883.h +++ b/arch/mips/include/asm/mach-ralink/rt3883.h
@@ -0,0 +1,247 @@ @@ -0,0 +1,248 @@
+/* +/*
+ * Ralink RT3662/RT3883 SoC register definitions + * Ralink RT3662/RT3883 SoC register definitions
+ * + *
@ -177,6 +177,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5185/
+#define RT3883_GPIO_SPI_MISO 6 +#define RT3883_GPIO_SPI_MISO 6
+#define RT3883_GPIO_7 7 +#define RT3883_GPIO_7 7
+#define RT3883_GPIO_10 10 +#define RT3883_GPIO_10 10
+#define RT3883_GPIO_11 11
+#define RT3883_GPIO_14 14 +#define RT3883_GPIO_14 14
+#define RT3883_GPIO_UART1_TXD 15 +#define RT3883_GPIO_UART1_TXD 15
+#define RT3883_GPIO_UART1_RXD 16 +#define RT3883_GPIO_UART1_RXD 16

View File

@ -14,7 +14,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5182/
--- a/arch/mips/include/asm/mach-ralink/rt3883.h --- a/arch/mips/include/asm/mach-ralink/rt3883.h
+++ b/arch/mips/include/asm/mach-ralink/rt3883.h +++ b/arch/mips/include/asm/mach-ralink/rt3883.h
@@ -244,4 +244,8 @@ @@ -245,4 +245,8 @@
#define RT3883_FLASH_CFG_WIDTH_16BIT 0x1 #define RT3883_FLASH_CFG_WIDTH_16BIT 0x1
#define RT3883_FLASH_CFG_WIDTH_32BIT 0x2 #define RT3883_FLASH_CFG_WIDTH_32BIT 0x2