summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2010-10-14 15:35:07 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-10-25 15:51:33 +0900
commitdc6c0ca39daad44f3169656296ef81d39a6dc7f5 (patch)
tree77ce8973326100c1b230e5c64f1617b23b155b4f
parentb4a0dca771350b4eb0b262b5bbcf2aab5b47d1ea (diff)
downloadlinux-dc6c0ca39daad44f3169656296ef81d39a6dc7f5.tar.gz
linux-dc6c0ca39daad44f3169656296ef81d39a6dc7f5.tar.bz2
linux-dc6c0ca39daad44f3169656296ef81d39a6dc7f5.zip
ARM: S5P: Fix missed IRQ_EINT_BIT()
When merged patches, missed IRQ_EINT_BIT() definition from commit ea31fd43 (ARM: S5PV210: Add Power Management Support). The IRQ_EINT_BIT() is used in the Power Management operation (plat-samsung/pm.c). Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/plat-s5p/include/plat/irqs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/include/plat/irqs.h b/arch/arm/plat-s5p/include/plat/irqs.h
index 7f653bce3c13..ba9121c60a2a 100644
--- a/arch/arm/plat-s5p/include/plat/irqs.h
+++ b/arch/arm/plat-s5p/include/plat/irqs.h
@@ -94,6 +94,8 @@
((irq) - S5P_EINT_BASE1) : \
((irq) + 16 - S5P_EINT_BASE2))
+#define IRQ_EINT_BIT(x) EINT_OFFSET(x)
+
/* Typically only a few gpio chips require gpio interrupt support.
To avoid memory waste irq descriptors are allocated only for
S5P_GPIOINT_GROUP_COUNT chips, each with total number of