summaryrefslogtreecommitdiff
path: root/zephyr/shim/src/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/src/watchdog.c')
-rw-r--r--zephyr/shim/src/watchdog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/zephyr/shim/src/watchdog.c b/zephyr/shim/src/watchdog.c
index 00cd5c4c30..eb82f228d5 100644
--- a/zephyr/shim/src/watchdog.c
+++ b/zephyr/shim/src/watchdog.c
@@ -1,4 +1,4 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+/* Copyright 2021 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -6,7 +6,7 @@
#include <zephyr/device.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
-#include <zephyr/zephyr.h>
+#include <zephyr/kernel.h>
#include "config.h"
#include "hooks.h"
@@ -24,12 +24,12 @@ static void wdt_warning_handler(const struct device *wdt_dev, int channel_id)
{
/* TODO(b/176523207): watchdog warning message */
printk("Watchdog deadline is close!\n");
- #ifdef TEST_BUILD
+#ifdef TEST_BUILD
wdt_warning_triggered = true;
- #endif
+#endif
#ifdef CONFIG_SOC_SERIES_MEC172X
extern void cros_chip_wdt_handler(const struct device *wdt_dev,
- int channel_id);
+ int channel_id);
cros_chip_wdt_handler(wdt_dev, channel_id);
#endif
}