blob: 883f4d466509a398bddc2852e8fea0ad6eb674ba [file] [log] [blame]
Michal Simekd6afd682012-06-29 07:32:35 +02001#ifndef _ASM_MICROBLAZE_GPIO_H_
2#define _ASM_MICROBLAZE_GPIO_H_
3
4#include <asm/io.h>
5
6static inline int gpio_request(unsigned gpio, const char *label)
7{
8 return 0;
9}
10
11static inline int gpio_free(unsigned gpio)
12{
13 return 0;
14}
15
16static inline int gpio_direction_input(unsigned gpio)
17{
18 return 0;
19}
20
21static inline int gpio_direction_output(unsigned gpio, int value)
22{
23 return 0;
24}
25
26static inline int gpio_get_value(unsigned gpio)
27{
28 return 0;
29}
30
31static inline int gpio_set_value(unsigned gpio, int value)
32{
33 return 0;
34}
35
36static inline int gpio_is_valid(int number)
37{
38 return 0;
39}
40#endif
41