linux-mips
[Top] [All Lists]

[PATCH] MIPS: JZ4740: fix the JZ4740_IRQ_DMA macro

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: JZ4740: fix the JZ4740_IRQ_DMA macro
From: Antony Pavlov <antonynpavlov@gmail.com>
Date: Wed, 7 Mar 2012 12:19:43 +0400
Cc: Lars-Peter Clausen <lars@metafoo.de>, linux-mips@linux-mips.org, Antony Pavlov <antonynpavlov@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=zRsfJqxctb4U+s/tBt+a0lrEHa893vFHoH5xG+pZyBQ=; b=MpbIMrFWClwoCn2iz5ySRDwOrGQHoNCvlUy5PHMiq0zl5QIj8MCXDVS4keV5S6pSk9 87/5Anl6BWCRIz+3JZgmfeR8C7pmvS6S4AHQWzGos8tpFglce+amqVW6fo/fCKXbltcL VOYbEETGcQLdCsN5qCxCctwGwMwmN8Y6aD/CcgFf93jTokcIq5SnyF/siU8l0R9um4Sv XEWAwAyQNWGZ1vtH0O+qz8Qxz6VX0P7FDgiPrZaBLOGbIn3zVLLOKxgcYSwmFix5ZJ8f MxT0QCAnTl2accITCfywayIcbkPWzjihvI2EyOpmGC4FiwTpUovWPqwP+aM43fQS9zlE QR1A==
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/include/asm/mach-jz4740/irq.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/include/asm/mach-jz4740/irq.h 
b/arch/mips/include/asm/mach-jz4740/irq.h
index a865c98..5ad1a9c 100644
--- a/arch/mips/include/asm/mach-jz4740/irq.h
+++ b/arch/mips/include/asm/mach-jz4740/irq.h
@@ -45,7 +45,7 @@
 #define JZ4740_IRQ_LCD         JZ4740_IRQ(30)
 
 /* 2nd-level interrupts */
-#define JZ4740_IRQ_DMA(x)      (JZ4740_IRQ(32) + (X))
+#define JZ4740_IRQ_DMA(x)      (JZ4740_IRQ(32) + (x))
 
 #define JZ4740_IRQ_INTC_GPIO(x) (JZ4740_IRQ_GPIO0 - (x))
 #define JZ4740_IRQ_GPIO(x)     (JZ4740_IRQ(48) + (x))
-- 
1.7.8.3


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