summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2020-12-03 11:01:41 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-15 03:55:33 +0000
commitb8494d9170a13406996cb2003ff32f80c286bd4c (patch)
treebba184c5d4eac214be56cac3ee0a6ab4ab3f6dee
parentb54ceb30336fe644bd6a2ad76bba05559c28c064 (diff)
downloadchrome-ec-b8494d9170a13406996cb2003ff32f80c286bd4c.tar.gz
volteer: clean up manual def of struct intel_x86_pwrok_signal
The header can be reached now (with Cq-Depend CL), so include it and get rid of the duplicate definition. BUG=b:173798264 TEST=compiles Cq-Depend: chromium:2571897 Change-Id: Iea62bd777195e12c554650ab120b08f811c158fa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2572018 Tested-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630151 Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--zephyr/projects/volteer/src/pwrok_signals.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/zephyr/projects/volteer/src/pwrok_signals.c b/zephyr/projects/volteer/src/pwrok_signals.c
index e551c383bb..2ce41633b3 100644
--- a/zephyr/projects/volteer/src/pwrok_signals.c
+++ b/zephyr/projects/volteer/src/pwrok_signals.c
@@ -10,17 +10,7 @@
#include "gpio_map.h"
#include "gpio_signal.h"
-
-/*
- * TODO(b:173798264): This struct actually comes from
- * power/intel_x86.h in platform/ec, but we have no way to reach it right
- * now. Remove this once we can get that header somehow.
- */
-struct intel_x86_pwrok_signal {
- enum gpio_signal gpio;
- bool active_low;
- int delay_ms;
-};
+#include "power/intel_x86.h"
const struct intel_x86_pwrok_signal pwrok_signal_assert_list[] = {
{