summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/gpio.h
blob: 767497096ab6b48481e9ca00a4f1ae1f12e67eb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef __ASM_GENERIC_GPIO_H
#define __ASM_GENERIC_GPIO_H

void gpio_set_value(unsigned gpio, int value);
int gpio_get_value(unsigned gpio);
int gpio_direction_output(unsigned gpio, int value);
int gpio_direction_input(unsigned gpio);

#endif /* __ASM_GENERIC_GPIO_H */