summaryrefslogtreecommitdiff
path: root/include/linux/crc4.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/crc4.h')
-rw-r--r--include/linux/crc4.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/crc4.h b/include/linux/crc4.h
new file mode 100644
index 000000000000..8f739f1d794f
--- /dev/null
+++ b/include/linux/crc4.h
@@ -0,0 +1,8 @@
+#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 */