summaryrefslogtreecommitdiff
path: root/include
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
parente745106ce34553171a5d8d2450be07c0cffe39d5 (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')
-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[]);