Commit 39940827 authored by Mike Frysinger's avatar Mike Frysinger

Blackfin: BF54x: add ifdef protection to gpio header

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 332824b8
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
* Licensed under the GPL-2 or later. * Licensed under the GPL-2 or later.
*/ */
#ifndef _MACH_GPIO_H_
#define _MACH_GPIO_H_
#define GPIO_PA0 0 #define GPIO_PA0 0
#define GPIO_PA1 1 #define GPIO_PA1 1
#define GPIO_PA2 2 #define GPIO_PA2 2
...@@ -166,6 +170,8 @@ ...@@ -166,6 +170,8 @@
#define MAX_BLACKFIN_GPIOS 160 #define MAX_BLACKFIN_GPIOS 160
#ifndef __ASSEMBLY__
struct gpio_port_t { struct gpio_port_t {
unsigned short port_fer; unsigned short port_fer;
unsigned short dummy1; unsigned short dummy1;
...@@ -191,3 +197,7 @@ struct gpio_port_s { ...@@ -191,3 +197,7 @@ struct gpio_port_s {
unsigned short inen; unsigned short inen;
unsigned int mux; unsigned int mux;
}; };
#endif
#endif /* _MACH_GPIO_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment