summaryrefslogtreecommitdiff
path: root/include/backlight.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backlight.h')
-rw-r--r--include/backlight.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/backlight.h b/include/backlight.h
new file mode 100644
index 0000000000..dd4e06e991
--- /dev/null
+++ b/include/backlight.h
@@ -0,0 +1,20 @@
+/* Copyright (c) 2013 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.
+ */
+
+/* Backlight API for Chrome EC */
+
+#ifndef __CROS_EC_BACKLIGHT_H
+#define __CROS_EC_BACKLIGHT_H
+
+#include "common.h"
+
+/**
+ * Interrupt handler for backlight.
+ *
+ * @param signal Signal which triggered the interrupt.
+ */
+void backlight_interrupt(enum gpio_signal signal);
+
+#endif /* __CROS_EC_BACKLIGHT_H */