summaryrefslogtreecommitdiff
path: root/include/touchpad.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2017-11-12 18:01:58 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-11-20 04:53:20 -0800
commit4cb524de67477df6a1a55daaf7ffbf3c60276242 (patch)
tree3cc557cc7e508f9d816d353b54c045fd29d2b09a /include/touchpad.h
parent3b80b4e827f9bb2e82656fa74748954a06050b48 (diff)
downloadchrome-ec-4cb524de67477df6a1a55daaf7ffbf3c60276242.tar.gz
touchpad_elan: Rename task/interrupts functions
Change the names to generic touchpad_* functions, instead of vendor-specific names. Makes it a little easier to add drivers for other touchpads. Also fix console_channel.inc to add the channel whenever any touchpad is used. BRANCH=none BUG=b:68934906 TEST=make buildall -j Change-Id: I6d268db5ebd53db272fb2ee7bbf06bbe80845734 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/778750 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/touchpad.h')
-rw-r--r--include/touchpad.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/touchpad.h b/include/touchpad.h
new file mode 100644
index 0000000000..ce0ee5cc3e
--- /dev/null
+++ b/include/touchpad.h
@@ -0,0 +1,11 @@
+/* Copyright 2017 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.
+ */
+
+#ifndef __CROS_EC_TOUCHPAD_H
+#define __CROS_EC_TOUCHPAD_H
+
+void touchpad_interrupt(enum gpio_signal signal);
+
+#endif