diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-07-12 17:06:45 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 17:06:45 +0800 |
commit | 61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3 (patch) | |
tree | 1522d0a7b44d694a3e4c276573181c8e381eb110 /include/asm-blackfin | |
parent | e745106ce34553171a5d8d2450be07c0cffe39d5 (diff) | |
download | op-kernel-dev-61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3.zip op-kernel-dev-61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3.tar.gz |
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 8c5847a..dbf66bc 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 { 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[]); |