Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264130
b: refs/heads/master
c: b76f7cd
h: refs/heads/master
v: v3
  • Loading branch information
Marek Szyprowski authored and Kukjin Kim committed Sep 26, 2011
1 parent 3f3593a commit 116801e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 4344646ff127eaea4d58266ccd8fdd2a38fb9672
refs/heads/master: b76f7cdca5af18fa7a59a5c8a9eb5e02418e827a
9 changes: 5 additions & 4 deletions trunk/arch/arm/plat-s5p/irq-gpioint.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,18 @@ static __init int s5p_gpioint_add(struct s3c_gpio_chip *chip)
{
static int used_gpioint_groups = 0;
int group = chip->group;
struct s5p_gpioint_bank *bank = NULL;
struct s5p_gpioint_bank *b, *bank = NULL;
struct irq_chip_generic *gc;
struct irq_chip_type *ct;

if (used_gpioint_groups >= S5P_GPIOINT_GROUP_COUNT)
return -ENOMEM;

list_for_each_entry(bank, &banks, list) {
if (group >= bank->start &&
group < bank->start + bank->nr_groups)
list_for_each_entry(b, &banks, list) {
if (group >= b->start && group < b->start + b->nr_groups) {
bank = b;
break;
}
}
if (!bank)
return -EINVAL;
Expand Down

0 comments on commit 116801e

Please sign in to comment.