diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-27 14:46:14 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-23 01:18:30 -0400 |
commit | 9466a0510a5445d81eaf33affc20e2f7e2e718fb (patch) | |
tree | ecbecd217aedca3575d27444efeadf1fee1c8f38 /arch/blackfin/include | |
parent | eed7b8365807549c67613ea7d9a451262050ba3e (diff) |
Blackfin: bf538: pull gpio/port logic out of core hibernate paths
Re-architect how we save/restore the gpio/port logic that only pertains
to bf538/bf539 parts by pulling it out of the core code paths and pushing
it out to bf538-specific locations.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/gpio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/gpio.h b/arch/blackfin/include/asm/gpio.h index d06162029c69..5a25856381ff 100644 --- a/arch/blackfin/include/asm/gpio.h +++ b/arch/blackfin/include/asm/gpio.h | |||
@@ -119,6 +119,10 @@ struct gpio_port_t { | |||
119 | #ifdef BFIN_SPECIAL_GPIO_BANKS | 119 | #ifdef BFIN_SPECIAL_GPIO_BANKS |
120 | void bfin_special_gpio_free(unsigned gpio); | 120 | void bfin_special_gpio_free(unsigned gpio); |
121 | int bfin_special_gpio_request(unsigned gpio, const char *label); | 121 | int bfin_special_gpio_request(unsigned gpio, const char *label); |
122 | # ifdef CONFIG_PM | ||
123 | void bfin_special_gpio_pm_hibernate_restore(void); | ||
124 | void bfin_special_gpio_pm_hibernate_suspend(void); | ||
125 | # endif | ||
122 | #endif | 126 | #endif |
123 | 127 | ||
124 | #ifdef CONFIG_PM | 128 | #ifdef CONFIG_PM |