diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-23 14:12:58 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-25 03:09:51 +0000 |
commit | 5ef2054c38e5375da3440f1b1507dda31429c6ff (patch) | |
tree | b92bef0f8a4be5b3e3dc9b6d537da21d1845343e /include/common.h | |
parent | 235a735f7af1a11a12a46f816905fa268a0fd012 (diff) | |
download | chrome-ec-5ef2054c38e5375da3440f1b1507dda31429c6ff.tar.gz |
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 <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/174382
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 03fd7affee..06888191fe 100644 --- a/include/common.h +++ b/include/common.h @@ -53,6 +53,9 @@ /* Include top-level configuration file */ #include "config.h" +/* Canonical list of module IDs */ +#include "module_id.h" + /* List of common error codes that can be returned */ enum ec_error_list { /* Success - no error */ |