diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-06-16 21:51:55 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-18 19:07:00 +0000 |
commit | 104f811e6730e129a98fac6fc3941bbe0d0e857f (patch) | |
tree | 17a0d78af92eceb0cde468f56afc41f0ec726dd9 /include/battery_smart.h | |
parent | 19cd951027b7bd7b726e085c46b8cc9c136b0980 (diff) | |
download | chrome-ec-104f811e6730e129a98fac6fc3941bbe0d0e857f.tar.gz |
cleanup: fix all the header guards
This unifies all the EC header files to use __CROS_EC_FILENAME_H
as the include guard. Well, except for test/ util/ and extra/
which use __TEST_ __UTIL_ and __EXTRA_ prefixes respectively.
BUG=chromium:496895
BRANCH=none
TEST=make buildall -j
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: Iea71b3a08bdec94a11239de810a2b2e152b15029
Reviewed-on: https://chromium-review.googlesource.com/278121
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/battery_smart.h')
-rw-r--r-- | include/battery_smart.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/battery_smart.h b/include/battery_smart.h index 428608e5f4..c5fd1d6eec 100644 --- a/include/battery_smart.h +++ b/include/battery_smart.h @@ -5,8 +5,8 @@ * Smart battery v1.0 * Smart battery charger v1.1 */ -#ifndef __CROS_EC_SMART_BATTERY_H -#define __CROS_EC_SMART_BATTERY_H +#ifndef __CROS_EC_BATTERY_SMART_H +#define __CROS_EC_BATTERY_SMART_H #include "common.h" @@ -153,5 +153,5 @@ int sb_read_string(int port, int slave_addr, int offset, uint8_t *data, /* Write to battery */ int sb_write(int cmd, int param); -#endif /* __CROS_EC_SMART_BATTERY_H */ +#endif /* __CROS_EC_BATTERY_SMART_H */ |