aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548/include/mach/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf548/include/mach/gpio.h')
-rw-r--r--arch/blackfin/mach-bf548/include/mach/gpio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/gpio.h b/arch/blackfin/mach-bf548/include/mach/gpio.h
index 850e39d193e3..28037e331964 100644
--- a/arch/blackfin/mach-bf548/include/mach/gpio.h
+++ b/arch/blackfin/mach-bf548/include/mach/gpio.h
@@ -3,6 +3,10 @@
3 * Licensed under the GPL-2 or later. 3 * Licensed under the GPL-2 or later.
4 */ 4 */
5 5
6
7#ifndef _MACH_GPIO_H_
8#define _MACH_GPIO_H_
9
6#define GPIO_PA0 0 10#define GPIO_PA0 0
7#define GPIO_PA1 1 11#define GPIO_PA1 1
8#define GPIO_PA2 2 12#define GPIO_PA2 2
@@ -166,6 +170,8 @@
166 170
167#define MAX_BLACKFIN_GPIOS 160 171#define MAX_BLACKFIN_GPIOS 160
168 172
173#ifndef __ASSEMBLY__
174
169struct gpio_port_t { 175struct gpio_port_t {
170 unsigned short port_fer; 176 unsigned short port_fer;
171 unsigned short dummy1; 177 unsigned short dummy1;
@@ -191,3 +197,7 @@ struct gpio_port_s {
191 unsigned short inen; 197 unsigned short inen;
192 unsigned int mux; 198 unsigned int mux;
193}; 199};
200
201#endif
202
203#endif /* _MACH_GPIO_H_ */