diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-07-12 05:06:45 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 05:06:45 -0400 |
commit | 61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3 (patch) | |
tree | 1522d0a7b44d694a3e4c276573181c8e381eb110 /include/asm-blackfin | |
parent | e745106ce34553171a5d8d2450be07c0cffe39d5 (diff) |
Blackfin arch: Add peripheral io API to gpio header file
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r-- | include/asm-blackfin/mach-bf548/gpio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-blackfin/mach-bf548/gpio.h b/include/asm-blackfin/mach-bf548/gpio.h index 8c5847a6680b..dbf66bcabe35 100644 --- a/include/asm-blackfin/mach-bf548/gpio.h +++ b/include/asm-blackfin/mach-bf548/gpio.h | |||
@@ -210,3 +210,7 @@ struct gpio_port_t { | |||
210 | unsigned int port_mux; | 210 | unsigned int port_mux; |
211 | }; | 211 | }; |
212 | 212 | ||
213 | int gpio_request(unsigned short gpio, const char *label); | ||
214 | void peripheral_free(unsigned short per); | ||
215 | int peripheral_request_list(unsigned short per[], const char *label); | ||
216 | void peripheral_free_list(unsigned short per[]); | ||