Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298664
b: refs/heads/master
c: e8c5c6d
h: refs/heads/master
v: v3
  • Loading branch information
Bob Liu committed Apr 6, 2012
1 parent 1adf766 commit e143767
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 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: 95fc2d8f96d37995f2bd1ec49f46ee9816ddf5b7
refs/heads/master: e8c5c6da6c8aafceb9b7ca98c601db55640826b3
14 changes: 12 additions & 2 deletions trunk/arch/blackfin/include/asm/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,16 +244,26 @@ static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
return -EINVAL;
}

static inline int gpio_get_value(unsigned gpio)
static inline int __gpio_get_value(unsigned gpio)
{
return bfin_gpio_get_value(gpio);
}

static inline void gpio_set_value(unsigned gpio, int value)
static inline void __gpio_set_value(unsigned gpio, int value)
{
return bfin_gpio_set_value(gpio, value);
}

static inline int gpio_get_value(unsigned gpio)
{
return __gpio_get_value(gpio);
}

static inline void gpio_set_value(unsigned gpio, int value)
{
return __gpio_set_value(gpio, value);
}

static inline int gpio_to_irq(unsigned gpio)
{
if (likely(gpio < MAX_BLACKFIN_GPIOS))
Expand Down

0 comments on commit e143767

Please sign in to comment.