summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/gpio.h
blob: 883f4d466509a398bddc2852e8fea0ad6eb674ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef _ASM_MICROBLAZE_GPIO_H_
#define _ASM_MICROBLAZE_GPIO_H_

#include <asm/io.h>

static inline int gpio_request(unsigned gpio, const char *label)
{
	return 0;
}

static inline int gpio_free(unsigned gpio)
{
	return 0;
}

static inline int gpio_direction_input(unsigned gpio)
{
	return 0;
}

static inline int gpio_direction_output(unsigned gpio, int value)
{
	return 0;
}

static inline int gpio_get_value(unsigned gpio)
{
	return 0;
}

static inline int gpio_set_value(unsigned gpio, int value)
{
	return 0;
}

static inline int gpio_is_valid(int number)
{
	return 0;
}
#endif