From: Pali Rohár Date: Tue, 12 Apr 2022 09:20:41 +0000 (+0200) Subject: crc16: Rename fs/ubifs/crc16.h to include/linux/crc16.h X-Git-Tag: v2022.07~91^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e523f5d181ce66a36b5f9476b86be2fa03284a45;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Stefan Roese --- diff --git a/fs/ubifs/crc16.c b/fs/ubifs/crc16.c index 443ccf8..7cf33fc 100644 --- a/fs/ubifs/crc16.c +++ b/fs/ubifs/crc16.c @@ -6,7 +6,7 @@ */ #include -#include "crc16.h" +#include /** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */ u16 const crc16_table[256] = { diff --git a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c index 62748b0..27835e6 100644 --- a/fs/ubifs/lpt.c +++ b/fs/ubifs/lpt.c @@ -42,7 +42,7 @@ #include #include #include -#include "crc16.h" +#include #endif /** diff --git a/fs/ubifs/lpt_commit.c b/fs/ubifs/lpt_commit.c index 897d001..ba0b19a 100644 --- a/fs/ubifs/lpt_commit.c +++ b/fs/ubifs/lpt_commit.c @@ -23,7 +23,7 @@ #include #include #include -#include "crc16.h" +#include #endif #include "ubifs.h" diff --git a/fs/ubifs/crc16.h b/include/linux/crc16.h similarity index 100% rename from fs/ubifs/crc16.h rename to include/linux/crc16.h