Skip to content

Commit 459f2a3

Browse files
author
Ben Dooks
committed
ARM: S5PC100: Fixup cross tree merge problems
The commit 45c7943 got things building but then commit 17d2f877ae8b68b09bf88a9949ee64fbbda5ee10 and others where merged in from a seperate tree and this has resulted from a build failure due to the redefinition of IRQ_EINT(). Fix this by merging a new commit. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
1 parent 5fae405 commit 459f2a3

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎arch/arm/mach-s5pc100/include/mach/regs-gpio.h‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,9 @@
6060
#define S5PC100EINT30PEND (S5P_VA_GPIO + 0xF40)
6161
#define S5P_EINT_PEND(x) (S5PC100EINT30PEND + ((x) * 0x4))
6262

63-
#define eint_offset(irq) ((irq) < IRQ_EINT16_31 ? ((irq) - IRQ_EINT(0)) : \
64-
(((irq) - S5P_EINT_BASE2)))
63+
#define EINT_REG_NR(x) (EINT_OFFSET(x) >> 3)
6564

66-
#define EINT_REG_NR(x) (eint_offset(x) >> 3)
67-
68-
#define eint_irq_to_bit(irq) (1 << (eint_offset(irq) & 0x7))
65+
#define eint_irq_to_bit(irq) (1 << (EINT_OFFSET(irq) & 0x7))
6966

7067
/* values for S5P_EXTINT0 */
7168
#define S5P_EXTINT_LOWLEV (0x00)

0 commit comments

Comments
 (0)