Skip to content

Commit

Permalink
Blackfin arch: Add peripheral io API to gpio header file
Browse files Browse the repository at this point in the history
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Sonic Zhang authored and Bryan Wu committed Jul 12, 2007
1 parent e745106 commit 61b5956
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/asm-blackfin/mach-bf548/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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[]);

0 comments on commit 61b5956

Please sign in to comment.