summaryrefslogtreecommitdiff
path: root/include/smbus.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-06-16 21:51:55 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-18 19:07:00 +0000
commit104f811e6730e129a98fac6fc3941bbe0d0e857f (patch)
tree17a0d78af92eceb0cde468f56afc41f0ec726dd9 /include/smbus.h
parent19cd951027b7bd7b726e085c46b8cc9c136b0980 (diff)
downloadchrome-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/smbus.h')
-rw-r--r--include/smbus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/smbus.h b/include/smbus.h
index 8f1bfeb9c9..367ceceb8d 100644
--- a/include/smbus.h
+++ b/include/smbus.h
@@ -6,8 +6,8 @@
* @brief smbus interface APIs
* @see http://smbus.org/specs/smbus20.pdf
*/
-#ifndef __EC_SMBUS_H__
-#define __EC_SMBUS_H__
+#ifndef __CROS_EC_SMBUS_H
+#define __CROS_EC_SMBUS_H
/** Maximum transfer of a SMBUS block transfer */
#define SMBUS_MAX_BLOCK_SIZE 32
@@ -155,4 +155,4 @@ int smbus_read_block(uint8_t i2c_port, uint8_t slave_addr,
int smbus_read_string(int i2c_port, uint8_t slave_addr, uint8_t smbus_cmd,
uint8_t *data, uint8_t len);
-#endif /* __EC_SMBUS_H__ */
+#endif /* __CROS_EC_SMBUS_H */