summaryrefslogtreecommitdiff
path: root/include/gpio.h
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2016-03-02 13:42:18 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-03-21 13:16:35 -0700
commitfa1653d240e7635b1cbf03e1e786f16a4ea7e95f (patch)
tree4d41752eb464f4a254ecc5095d2adfa4bc93da9c /include/gpio.h
parent952b2a54e12bfbf6635a5eb225ad777814ca9c92 (diff)
downloadchrome-ec-fa1653d240e7635b1cbf03e1e786f16a4ea7e95f.tar.gz
GPIO: Rename and move board_set_gpio_hibernate_state
This function is no longer GPIO specific and fits better as part of the system API, so this moves it there and renames it board_hibernate_late. Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Change-Id: I39d3ecedadaaa22142cc82c79f5d25c891f3f38c Reviewed-on: https://chromium-review.googlesource.com/330124 Commit-Ready: Anton Staaf <robotboy@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/gpio.h')
-rw-r--r--include/gpio.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gpio.h b/include/gpio.h
index 741f41f3d7..52638e4222 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -225,7 +225,4 @@ void gpio_set_flags_by_mask(uint32_t port, uint32_t mask, uint32_t flags);
*/
void gpio_set_alternate_function(uint32_t port, uint32_t mask, int func);
-/* Optional board-level function to set hibernate GPIO states. */
-void board_set_gpio_hibernate_state(void) __attribute__((weak));
-
#endif /* __CROS_EC_GPIO_H */