summaryrefslogtreecommitdiff
path: root/include/x86_power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/x86_power.h')
-rw-r--r--include/x86_power.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/x86_power.h b/include/x86_power.h
new file mode 100644
index 0000000000..ce28e1b571
--- /dev/null
+++ b/include/x86_power.h
@@ -0,0 +1,20 @@
+/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* x86 power module for Chrome EC */
+
+#ifndef __CROS_EC_X86_POWER_H
+#define __CROS_EC_X86_POWER_H
+
+#include "common.h"
+#include "gpio.h"
+
+/* Initializes the module. */
+int x86_power_init(void);
+
+/* Interrupt handler for input GPIOs */
+void x86_power_interrupt(enum gpio_signal signal);
+
+#endif /* __CROS_EC_X86_POWER_H */