aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2007-07-12 17:06:45 +0800
committerBryan Wu <bryan.wu@analog.com>2007-07-12 17:06:45 +0800
commit61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3 (patch)
tree1522d0a7b44d694a3e4c276573181c8e381eb110 /include/asm-blackfin
parentBlackfin arch: set up gpio interrupt IRQ_PJ9 for BF54x ATAPI PATA driver (diff)
downloadlinux-dev-61b59563266aa6bedaf5d45b9b25bc48bb4d3ed3.tar.xz
linux-dev-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.h4
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[]);