summaryrefslogtreecommitdiffstats
path: root/include/linux/crc4.h
blob: bd2c90556a06b4f4f509743df46a52e74f55ab68 (plain)
1
2
3
4
5
6
7
8
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 */
OpenPOWER on IntegriCloud