From 5ef2054c38e5375da3440f1b1507dda31429c6ff Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Wed, 23 Oct 2013 14:12:58 -0700 Subject: cleanup: Consolidate module IDs into a single shared enum This is tidier than every board defining its own module_id enum, and encourages standard naming of modules. A subsequent CL will do more cleanup (standardizing on MODULE_LED instead of MODULE_POWER_LED and MODULE_LED_KIRBY), but it's easier to do that as a separate CL than part of this one. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms; pass unit tests Change-Id: If0fcef284fb3aa2fa145bc9ff3d1f3f2d25a2e47 Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/174382 Reviewed-by: Bill Richardson --- board/link/board.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'board/link') diff --git a/board/link/board.h b/board/link/board.h index 0dbe6efb98..cbf600001a 100644 --- a/board/link/board.h +++ b/board/link/board.h @@ -46,17 +46,6 @@ #ifndef __ASSEMBLER__ -/* Module IDs */ -/* TODO(rspangler): use this in place of enum console_channel as well */ -enum module_id { - MODULE_I2C, - MODULE_LPC, - MODULE_PECI, - MODULE_PWM_FAN, - MODULE_PWM_KBLIGHT, - MODULE_UART, -}; - enum adc_channel { /* EC internal die temperature in degrees K. */ ADC_CH_EC_TEMP = 0, -- cgit v1.2.1