Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279697
b: refs/heads/master
c: d85b409
h: refs/heads/master
i:
  279695: 30c9c55
v: v3
  • Loading branch information
Mark Brown authored and Greg Ungerer committed Dec 24, 2011
1 parent f0a0871 commit 4606015
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a2a3dfb8efc5d14cf39358ae0ec1da39667c2e6c
refs/heads/master: d85b40948654dee3be1d8e43b0fce511c1b42d78
3 changes: 2 additions & 1 deletion trunk/arch/m68k/include/asm/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ static inline void gpio_set_value(unsigned gpio, int value)

static inline int gpio_to_irq(unsigned gpio)
{
return (gpio < MCFGPIO_IRQ_MAX) ? gpio + MCFGPIO_IRQ_VECBASE : -EINVAL;
return (gpio < MCFGPIO_IRQ_MAX) ? gpio + MCFGPIO_IRQ_VECBASE
: __gpio_to_irq(gpio);
}

static inline int irq_to_gpio(unsigned irq)
Expand Down

0 comments on commit 4606015

Please sign in to comment.