summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-05-11 17:22:58 -0700
committerDavid Hendricks <dhendrix@chromium.org>2012-05-11 17:22:58 -0700
commitfb0d6f078dd70f05079db829902de84b378548fb (patch)
tree7117cf3efea661a930709049496936bde68febad
parent27e8bdb7c099ff4642c5c1d567029467da35da4f (diff)
downloadchrome-ec-fb0d6f078dd70f05079db829902de84b378548fb.tar.gz
stm32: add missing init hook
This adds a missing init hook BUG=none TEST=Tested on Snow Change-Id: I4571d5bddf415b06e27e5e9eaadbb6017bde4bbe Signed-off-by: David Hendricks <dhendrix@chromium.org>
-rw-r--r--chip/stm32/gpio-stm32f100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/gpio-stm32f100.c b/chip/stm32/gpio-stm32f100.c
index 2dad777f80..c28a7cc917 100644
--- a/chip/stm32/gpio-stm32f100.c
+++ b/chip/stm32/gpio-stm32f100.c
@@ -123,6 +123,7 @@ int gpio_init(void)
return EC_SUCCESS;
}
+DECLARE_HOOK(HOOK_INIT, gpio_init, HOOK_PRIO_DEFAULT);
void gpio_set_alternate_function(int port, int mask, int func)