diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2007-07-12 11:06:45 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 11:06:45 +0200 |
commit | 61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3 (patch) | |
tree | 1522d0a7b44d694a3e4c276573181c8e381eb110 /include/asm-blackfin | |
parent | Blackfin arch: set up gpio interrupt IRQ_PJ9 for BF54x ATAPI PATA driver (diff) | |
download | linux-61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3.tar.xz linux-61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3.zip |
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 { 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[]); |