Blackfin arch: store labels so we later know who allocated GPIO/Peripheral resources

Signed-off-by: Michael Hennerich <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
Michael Hennerich 2007-10-10 22:55:30 +08:00 • committed by Bryan Wu
commit 40d63406a0
2 changed files with 72 additions and 20 deletions

View file

@ -209,8 +209,3 @@ struct gpio_port_t {
unsigned short dummy7;
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[]);