diff options
Diffstat (limited to 'include/console.h')
-rw-r--r-- | include/console.h | 47 |
1 files changed, 4 insertions, 43 deletions
diff --git a/include/console.h b/include/console.h index 1f7a24f0f3..75bbd6a335 100644 --- a/include/console.h +++ b/include/console.h @@ -26,49 +26,10 @@ struct console_command { /* Console channels */ enum console_channel { - CC_COMMAND = 0, /* Console command (interactive I/O). Use this only - * inside a console command routine. */ - CC_ACCEL, -#ifdef CONFIG_EXTENSION_COMMAND - CC_EXTENSION, -#endif - CC_CHARGER, - CC_CHIPSET, - CC_CLOCK, - CC_DMA, - CC_EVENTS, - CC_GESTURE, - CC_GPIO, - CC_HOSTCMD, - CC_I2C, - CC_KEYBOARD, - CC_KEYSCAN, - CC_LIDANGLE, -#ifdef HAS_TASK_LIGHTBAR - CC_LIGHTBAR, -#endif - CC_LPC, - CC_MOTION_LID, - CC_MOTION_SENSE, -#ifdef HAS_TASK_PDCMD - CC_PD_HOST_CMD, -#endif - CC_PORT80, - CC_PWM, - CC_SPI, -#ifdef CONFIG_SPS - CC_SPS, -#endif - CC_SWITCH, - CC_SYSTEM, - CC_TASK, - CC_THERMAL, - CC_TPM, - CC_USB, - CC_USBCHARGE, - CC_USBPD, - CC_VBOOT, - CC_HOOK, + #define CONSOLE_CHANNEL(enumeration, string) enumeration, + #include "include/console_channel.inc" + #undef CONSOLE_CHANNEL + /* Channel count; not itself a channel */ CC_CHANNEL_COUNT }; |