diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/console_channel.inc | 2 | ||||
-rw-r--r-- | include/touchpad.h | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc index 31ea119c1f..db5cbcdba9 100644 --- a/include/console_channel.inc +++ b/include/console_channel.inc @@ -72,7 +72,7 @@ CONSOLE_CHANNEL(CC_SWITCH, "switch") #endif CONSOLE_CHANNEL(CC_SYSTEM, "system") CONSOLE_CHANNEL(CC_TASK, "task") -#ifdef CONFIG_TOUCHPAD_ELAN +#ifdef CONFIG_TOUCHPAD CONSOLE_CHANNEL(CC_TOUCHPAD, "touchpad") #endif #ifdef CONFIG_DPTF 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 |