From 4cb524de67477df6a1a55daaf7ffbf3c60276242 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Sun, 12 Nov 2017 18:01:58 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/778750 Reviewed-by: Vincent Palatin --- include/touchpad.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/touchpad.h (limited to 'include/touchpad.h') 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 -- cgit v1.2.1