aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-mxc/irqs.h
diff options
context:
space:
mode:
authorRobert Schwebel <robert@schwebel.de>2008-03-28 05:59:08 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-31 14:46:48 -0400
commitf304fc422d9f159badb0edfa5921611a2fa371c7 (patch)
tree1ee85d115cdcf7b80b7a6e811da02c526ea91278 /include/asm-arm/arch-mxc/irqs.h
parent05dda977f2574c3341abef9b74c27d2b362e1e3a (diff)
[ARM] 4876/1: i.MXC family: Clean up
From: Juergen Beisert <j.beisert@pengutronix.de> Clean up current header files from doxygen style comments. There are probably more such comments left, but we start with these. Things happend since last review: - needless blank lines removed (note by Russell King) - re-format comments (note by Ross Wille) Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Ross Wille <wille@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-mxc/irqs.h')
-rw-r--r--include/asm-arm/arch-mxc/irqs.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/include/asm-arm/arch-mxc/irqs.h b/include/asm-arm/arch-mxc/irqs.h
index e4686c6bc4bf..a64e66ba4ae4 100644
--- a/include/asm-arm/arch-mxc/irqs.h
+++ b/include/asm-arm/arch-mxc/irqs.h
@@ -13,26 +13,15 @@
13 13
14#include <asm/hardware.h> 14#include <asm/hardware.h>
15 15
16/*!
17 * @file irqs.h
18 * @brief This file defines the number of normal interrupts and fast interrupts
19 *
20 * @ingroup Interrupt
21 */
22
23#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE) 16#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE)
24 17
25#define MXC_IRQ_TO_GPIO(irq) ((irq) - MXC_GPIO_INT_BASE) 18#define MXC_IRQ_TO_GPIO(irq) ((irq) - MXC_GPIO_INT_BASE)
26#define MXC_GPIO_TO_IRQ(x) (MXC_GPIO_INT_BASE + x) 19#define MXC_GPIO_TO_IRQ(x) (MXC_GPIO_INT_BASE + x)
27 20
28/*! 21/* Number of normal interrupts */
29 * Number of normal interrupts
30 */
31#define NR_IRQS MXC_MAX_INTS 22#define NR_IRQS MXC_MAX_INTS
32 23
33/*! 24/* Number of fast interrupts */
34 * Number of fast interrupts
35 */
36#define NR_FIQS MXC_MAX_INTS 25#define NR_FIQS MXC_MAX_INTS
37 26
38#endif /* __ASM_ARCH_MXC_IRQS_H__ */ 27#endif /* __ASM_ARCH_MXC_IRQS_H__ */