Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22836
b: refs/heads/master
c: 73deb7d
h: refs/heads/master
v: v3
  • Loading branch information
Alessandro Zummo authored and Russell King committed Mar 21, 2006
1 parent a9ac74e commit cbffb3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 03bd14c4b7fa535c78f17751172dbe8937729f05
refs/heads/master: 73deb7dc05b4cf968e506e7b18345bc65bcbc0f3
5 changes: 4 additions & 1 deletion trunk/arch/arm/mach-ixp4xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void ixp4xx_config_irq(unsigned irq, enum ixp4xx_irq_type type);
/*
* IRQ -> GPIO mapping table
*/
static int irq2gpio[32] = {
static char irq2gpio[32] = {
-1, -1, -1, -1, -1, -1, 0, 1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 2, 3, 4, 5, 6,
Expand Down Expand Up @@ -153,6 +153,9 @@ static int ixp4xx_set_irq_type(unsigned int irq, unsigned int type)
/* Set the new style */
*int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE));

/* Configure the line as an input */
gpio_line_config(line, IXP4XX_GPIO_IN);

return 0;
}

Expand Down

0 comments on commit cbffb3f

Please sign in to comment.