summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Andersen <jeffandersen@google.com>2017-03-03 10:29:55 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-10 19:52:31 -0800
commit0fd0dfe0e713e57845518e65bc320dd69835cd83 (patch)
tree52820140ff5fde234b2a9951ab5afaf1bd969e70 /include
parent67ce1579a8892c2f30d8f54d3c8fcb9d72d6c56a (diff)
downloadchrome-ec-0fd0dfe0e713e57845518e65bc320dd69835cd83.tar.gz
Include "config.h" in include/watchdog.h.
Without this include, the `watchdog_reload()` function will be compiled as a noop unless "config.h" is included before "watchdog.h" in whatever compilation unit requires watchdog functionality. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I311019753f6d61890be1e475664bd528e5250729 Reviewed-on: https://chromium-review.googlesource.com/449694 Commit-Ready: Jeff Andersen <jeffandersen@google.com> Tested-by: Jeff Andersen <jeffandersen@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/watchdog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/watchdog.h b/include/watchdog.h
index d2879c8381..b06fadeee5 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -10,6 +10,8 @@
#include <stdint.h>
+#include "config.h"
+
/**
* Initialize the watchdog.
*