summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/include/asm/mach-ath25/gpio.h
blob: 713564b8e8ef951aba1a17744cbc662f09deff8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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 */