summaryrefslogtreecommitdiff
path: root/include/crc8.h
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-11-11 12:22:04 -0700
committerRajat Jain <rajatja@google.com>2020-11-11 19:37:04 +0000
commit936df714ebd00e54cd1e9b23d57a8f93f0ae0871 (patch)
tree708f33065d78bce1c47985c08b774f18501cffd9 /include/crc8.h
parente50f47c5d21c02fdc97d49ad0e207e6185930e6f (diff)
downloadchrome-ec-936df714ebd00e54cd1e9b23d57a8f93f0ae0871.tar.gz
Revert "crc8: rename crc8 to cros_crc8 to to avoid zephyr conflict"
Something slipped through CQ coverage. Need to figure out, but in the mean time, revert the 3 CLs that seemed to have caused the issue. BRANCH=none BUG=chromium:1147953 TEST=none This reverts commit befe5a9c78ff4e75db7c5cda801688c8976e95f3. Change-Id: I14e82f33646b6574b1b3da13783143e3a29d417b Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533357
Diffstat (limited to 'include/crc8.h')
-rw-r--r--include/crc8.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/crc8.h b/include/crc8.h
index 45b2322b44..e6e70e2bf3 100644
--- a/include/crc8.h
+++ b/include/crc8.h
@@ -16,7 +16,7 @@
* @param len int, input, size of input data in bytes
* @return the crc-8 of the input data.
*/
-uint8_t cros_crc8(const uint8_t *data, int len);
+uint8_t crc8(const uint8_t *data, int len);
/**
* crc8_arg
@@ -25,10 +25,9 @@ uint8_t cros_crc8(const uint8_t *data, int len);
* @param data uint8_t *, input, a pointer to input data
* @param len int, input, size of input data in bytes
* @param previous_crc uint8_t, input, pre-calculated CRC of previous data.
- * Seed with zero for a new calculation (or use the result of
- * cros_crc8()).
+ * Seed with zero for a new calculation (or use the result of crc8()).
* @return the crc-8 of the input data.
*/
-uint8_t cros_crc8_arg(const uint8_t *data, int len, uint8_t previous_crc);
+uint8_t crc8_arg(const uint8_t *data, int len, uint8_t previous_crc);
#endif /* __CROS_EC_CRC8_H */