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