Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
39940827
Commit
39940827
authored
Jun 02, 2010
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blackfin: BF54x: add ifdef protection to gpio header
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
332824b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
arch/blackfin/mach-bf548/include/mach/gpio.h
arch/blackfin/mach-bf548/include/mach/gpio.h
+10
-0
No files found.
arch/blackfin/mach-bf548/include/mach/gpio.h
View file @
39940827
...
...
@@ -3,6 +3,10 @@
* Licensed under the GPL-2 or later.
*/
#ifndef _MACH_GPIO_H_
#define _MACH_GPIO_H_
#define GPIO_PA0 0
#define GPIO_PA1 1
#define GPIO_PA2 2
...
...
@@ -166,6 +170,8 @@
#define MAX_BLACKFIN_GPIOS 160
#ifndef __ASSEMBLY__
struct
gpio_port_t
{
unsigned
short
port_fer
;
unsigned
short
dummy1
;
...
...
@@ -191,3 +197,7 @@ struct gpio_port_s {
unsigned
short
inen
;
unsigned
int
mux
;
};
#endif
#endif
/* _MACH_GPIO_H_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment