summaryrefslogtreecommitdiffstats
path: root/include/linux/crc4.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/crc4.h')
-rw-r--r--include/linux/crc4.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/crc4.h b/include/linux/crc4.h
new file mode 100644
index 000000000..bd2c90556
--- /dev/null
+++ b/include/linux/crc4.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_CRC4_H
+#define _LINUX_CRC4_H
+
+#include <linux/types.h>
+
+extern uint8_t crc4(uint8_t c, uint64_t x, int bits);
+
+#endif /* _LINUX_CRC4_H */