Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326597
b: refs/heads/master
c: 5fa1a2e
h: refs/heads/master
i:
  326595: d21d8d2
v: v3
  • Loading branch information
Arnd Bergmann committed Sep 19, 2012
1 parent aefd8e2 commit 64e2484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 009a01e347b91123c13e85d70b9b4fbc72c67bfd
refs/heads/master: 5fa1a2e12a3bc7614db7b5f5f4b1167e5e25a9e6
4 changes: 2 additions & 2 deletions trunk/arch/arm/plat-samsung/s5p-irq-gpioint.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <asm/mach/irq.h>

#define GPIO_BASE(chip) (((unsigned long)(chip)->base) & 0xFFFFF000u)
#define GPIO_BASE(chip) ((void __iomem *)((unsigned long)((chip)->base) & 0xFFFFF000u))

#define CON_OFFSET 0x700
#define MASK_OFFSET 0x900
Expand Down Expand Up @@ -153,7 +153,7 @@ static __init int s5p_gpioint_add(struct samsung_gpio_chip *chip)
bank->chips[group - bank->start] = chip;

gc = irq_alloc_generic_chip("s5p_gpioint", 1, chip->irq_base,
(void __iomem *)GPIO_BASE(chip),
GPIO_BASE(chip),
handle_level_irq);
if (!gc)
return -ENOMEM;
Expand Down

0 comments on commit 64e2484

Please sign in to comment.