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/console_channel.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/console_channel.inc') 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 -- cgit v1.2.1