43cc739fd9
Add common code for Atheros AR5312 and Atheros AR2315 SoCs families. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Cc: Linux MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/8237 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
17 lines
352 B
C
17 lines
352 B
C
#ifndef __ASM_MACH_ATH25_GPIO_H
|
|
#define __ASM_MACH_ATH25_GPIO_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 gpio_to_irq __gpio_to_irq
|
|
|
|
static inline int irq_to_gpio(unsigned irq)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
|
|
#endif /* __ASM_MACH_ATH25_GPIO_H */
|