Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269400
b: refs/heads/master
c: e9fe594
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij authored and Russell King committed Aug 22, 2011
1 parent bb157d9 commit aba2e4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: eb3cf18cccc33d86179674ac1c49dcbc142fc2d9
refs/heads/master: e9fe594344c3db554aebb48513b60bba90c4dd2d
9 changes: 0 additions & 9 deletions trunk/arch/arm/mach-u300/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,4 @@ static inline unsigned gpio_to_irq(unsigned gpio)
}
#define gpio_to_irq gpio_to_irq

static inline unsigned irq_to_gpio(unsigned irq)
{
/*
* FIXME: This is no 1-1 mapping at all, it points to the
* whole block of 8 pins.
*/
return (irq - IRQ_U300_GPIO_PORT0) << 3;
}

#endif /* __MACH_U300_GPIO_H */

0 comments on commit aba2e4c

Please sign in to comment.