]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
crc16: Rename fs/ubifs/crc16.h to include/linux/crc16.h
authorPali Rohár <pali@kernel.org>
Tue, 12 Apr 2022 09:20:41 +0000 (11:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 21 Apr 2022 18:32:40 +0000 (14:32 -0400)
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>
fs/ubifs/crc16.c
fs/ubifs/lpt.c
fs/ubifs/lpt_commit.c
include/linux/crc16.h [moved from fs/ubifs/crc16.h with 100% similarity]

index 443ccf855d5ed6fac2fcc25edb2cc0c69aa3d37f..7cf33fc7eb61e937c2617dc13dbb343e4c43c10a 100644 (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] = {
index 62748b0210b2040b6b9811fce27eca7606e6b051..27835e60d2c0741de69b2d271390856ea701d6d4 100644 (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
 
 /**
index 897d0014306c32b6e8427469db50d9ed51fa2fbb..ba0b19a1f2b28f5a19e2c29ff153882f33496317 100644 (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"
 
similarity index 100%
rename from fs/ubifs/crc16.h
rename to include/linux/crc16.h