crc16: Rename fs/ubifs/crc16.h to include/linux/crc16.h

File fs/ubifs/crc16.h is standard linux's crc16.h include file. So move it
from fs/ubifs to include/linux where are also other linux include files.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
Pali Rohár 2022-04-12 11:20:41 +02:00 committed by Tom Rini
parent bb3d71b7ef
commit e523f5d181
4 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
*/
#include <linux/types.h>
#include "crc16.h"
#include <linux/crc16.h>
/** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */
u16 const crc16_table[256] = {

View file

@ -42,7 +42,7 @@
#include <linux/compat.h>
#include <linux/err.h>
#include <ubi_uboot.h>
#include "crc16.h"
#include <linux/crc16.h>
#endif
/**

View file

@ -23,7 +23,7 @@
#include <linux/bitops.h>
#include <linux/compat.h>
#include <linux/err.h>
#include "crc16.h"
#include <linux/crc16.h>
#endif
#include "ubifs.h"