linux-mips
[Top] [All Lists]

[PATCH] [trivial] mips: lantiq: Fix typo endianess in dma.c

To: ralf@linux-mips.org, linux-mips@linux-mips.org, trivial@kernel.org
Subject: [PATCH] [trivial] mips: lantiq: Fix typo endianess in dma.c
From: Masanari Iida <standby24x7@gmail.com>
Date: Fri, 23 Nov 2012 01:05:13 +0900
Cc: linux-kernel@vger.kernel.org, Masanari Iida <standby24x7@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=XHe+myv199nhaMRYHGC34KsZUo4NJvcad2J8XxBd1Fk=; b=F7lFRBzFIWHa8CDYp6GDxM7TV5QHhNqZ9OCPyuZ+FodoMHvKszm5//G08jtbZSJalm fFrUSU3lzNr3zY2evJe+z7rDE2PpLlyfy8Pnz+imgmVjJJUn9brOteuEk8dHsVrf4cNy 2aw5ucBvq5stVrvCyZ/f5ciMSz3vF14S70QjGvKL9X3NltkOJjDJgAxyFtjo58612/Aq oJzmJr7gr/Uq6oVDY379lRQplXrZrWr0KsuYFsxMWqq1NhX0LzBmeBaeWCljZdy1BqUR bNL3H7KrRL3GYo1ex/IoZexBmzYHQSjhyhuAJ+jLWgGAbSvJKgUCDyHa2OHj9OEK9oBs b8Vw==
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>
Sender: linux-mips-bounce@linux-mips.org
Correct spelling typo ENDIANESS to ENDIANNESS in
arc/mips/lantiq/xway/dma.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 arch/mips/lantiq/xway/dma.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index 55d2c4f..0f7228d 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -48,7 +48,7 @@
 #define DMA_CLK_DIV4           BIT(6)          /* polling clock divider */
 #define DMA_2W_BURST           BIT(1)          /* 2 word burst length */
 #define DMA_MAX_CHANNEL                20              /* the soc has 20 
channels */
-#define DMA_ETOP_ENDIANESS     (0xf << 8) /* endianess swap etop channels */
+#define DMA_ETOP_ENDIANNESS    (0xf << 8) /* endianness swap etop channels */
 #define DMA_WEIGHT     (BIT(17) | BIT(16))     /* default channel wheight */
 
 #define ltq_dma_r32(x)                 ltq_r32(ltq_dma_membase + (x))
@@ -191,10 +191,10 @@ ltq_dma_init_port(int p)
        switch (p) {
        case DMA_PORT_ETOP:
                /*
-                * Tell the DMA engine to swap the endianess of data frames and
+                * Tell the DMA engine to swap the endianness of data frames and
                 * drop packets if the channel arbitration fails.
                 */
-               ltq_dma_w32_mask(0, DMA_ETOP_ENDIANESS | DMA_PDEN,
+               ltq_dma_w32_mask(0, DMA_ETOP_ENDIANNESS | DMA_PDEN,
                        LTQ_DMA_PCTRL);
                break;
 
-- 
1.8.0.273.g2d242fb


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] [trivial] mips: lantiq: Fix typo endianess in dma.c, Masanari Iida <=