Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111139
b: refs/heads/master
c: 9609e74
h: refs/heads/master
i:
  111137: f6b113f
  111135: e317c02
v: v3
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Oct 11, 2008
1 parent 823961c commit 4a79a7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: d302d05cf4d25f4fbbec0f9338fac13ee0c0ad89
refs/heads/master: 9609e74093abd9f61fb1d20a8915a8ea87c77d5a
14 changes: 7 additions & 7 deletions trunk/arch/mips/include/asm/mach-rc32434/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
#define _RC32434_GPIO_H_

#include <linux/types.h>
#include <asm-generic/gpio.h>

#define gpio_get_value __gpio_get_value
#define gpio_set_value __gpio_set_value

#define gpio_cansleep __gpio_cansleep
#define NR_BUILTIN_GPIO 32

#define gpio_to_irq(gpio) IRQ_GPIO(gpio)
#define irq_to_gpio(irq) IRQ_TO_GPIO(irq)
#define gpio_get_value __gpio_get_value
#define gpio_set_value __gpio_set_value
#define gpio_cansleep __gpio_cansleep

#include <asm-generic/gpio.h>
#define gpio_to_irq(gpio) (8 + 4 * 32 + gpio)
#define irq_to_gpio(irq) (irq - (8 + 4 * 32))

struct rb532_gpio_reg {
u32 gpiofunc; /* GPIO Function Register
Expand Down

0 comments on commit 4a79a7e

Please sign in to comment.