Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269416
b: refs/heads/master
c: 438a99c
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Warren authored and Russell King committed Aug 24, 2011
1 parent 603ed3f commit be49f32
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 470080015c1f8bbd15ba1486d5c4bd8a3e7fa79a
refs/heads/master: 438a99c078b1bc3c9aebd92e7928f2477311d3e5
6 changes: 5 additions & 1 deletion trunk/drivers/gpio/gpio-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,18 @@ static int tegra_gpio_direction_output(struct gpio_chip *chip, unsigned offset,
return 0;
}


static int tegra_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
{
return TEGRA_GPIO_TO_IRQ(offset);
}

static struct gpio_chip tegra_gpio_chip = {
.label = "tegra-gpio",
.direction_input = tegra_gpio_direction_input,
.get = tegra_gpio_get,
.direction_output = tegra_gpio_direction_output,
.set = tegra_gpio_set,
.to_irq = tegra_gpio_to_irq,
.base = 0,
.ngpio = TEGRA_NR_GPIOS,
};
Expand Down

0 comments on commit be49f32

Please sign in to comment.