2012-11-21 05:24:34 +07:00
|
|
|
#ifndef __ASM_MIPS_MACH_BCM47XX_GPIO_H
|
|
|
|
#define __ASM_MIPS_MACH_BCM47XX_GPIO_H
|
2007-09-25 20:42:09 +07:00
|
|
|
|
2012-11-21 05:24:34 +07:00
|
|
|
#include <asm-generic/gpio.h>
|
2007-09-25 20:42:09 +07:00
|
|
|
|
2012-11-21 05:24:34 +07:00
|
|
|
#define gpio_get_value __gpio_get_value
|
|
|
|
#define gpio_set_value __gpio_set_value
|
2008-10-14 16:44:26 +07:00
|
|
|
|
2012-11-21 05:24:34 +07:00
|
|
|
#define gpio_cansleep __gpio_cansleep
|
|
|
|
#define gpio_to_irq __gpio_to_irq
|
2007-09-25 20:42:09 +07:00
|
|
|
|
2012-11-21 05:24:34 +07:00
|
|
|
static inline int irq_to_gpio(unsigned int irq)
|
2007-09-25 20:42:09 +07:00
|
|
|
{
|
2011-07-23 06:20:12 +07:00
|
|
|
return -EINVAL;
|
2007-09-25 20:42:09 +07:00
|
|
|
}
|
|
|
|
|
2011-07-23 06:20:13 +07:00
|
|
|
#endif
|