projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e745106
)
Blackfin arch: Add peripheral io API to gpio header file
author
Sonic Zhang
<sonic.zhang@analog.com>
Thu, 12 Jul 2007 09:06:45 +0000
(17:06 +0800)
committer
Bryan Wu
<bryan.wu@analog.com>
Thu, 12 Jul 2007 09:06:45 +0000
(17:06 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
include/asm-blackfin/mach-bf548/gpio.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-blackfin/mach-bf548/gpio.h
b/include/asm-blackfin/mach-bf548/gpio.h
index 8c5847a6680bbaa3622174690cba64c82cd9d969..dbf66bcabe35e9a7669b6ec6c092037bfe4c9f80 100644
(file)
--- a/
include/asm-blackfin/mach-bf548/gpio.h
+++ b/
include/asm-blackfin/mach-bf548/gpio.h
@@
-210,3
+210,7
@@
struct gpio_port_t {
unsigned int port_mux;
};
+int gpio_request(unsigned short gpio, const char *label);
+void peripheral_free(unsigned short per);
+int peripheral_request_list(unsigned short per[], const char *label);
+void peripheral_free_list(unsigned short per[]);