From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5BF88C433EF for ; Tue, 12 Apr 2022 09:22:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6B11183D95; Tue, 12 Apr 2022 11:22:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="dSKCYNL1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D804283C05; Tue, 12 Apr 2022 11:22:00 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C330183DBF for ; Tue, 12 Apr 2022 11:21:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 33D496170A; Tue, 12 Apr 2022 09:21:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 792E9C385A8; Tue, 12 Apr 2022 09:21:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649755312; bh=SI2Vx/+FxZC3pfpzHfFYxBX+Vio998ggxXTFV1isXXs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dSKCYNL1Y/Z+QOFThvpd60wBd3of34/28i16E16XatAQFtuePoS4GGwmvpUVR7aNu NKCznT7xv+GMYBPnj2vQe04vvxRzfQXxl3JVOMahEpr3OtEesqW/AyMkVY62QNJXFY vG67ViN1OQAn1HNCx31hHNCrRpqhbjVK8VRoYCGmkjqE91CQpb0gOhABl6v30DqeWm Lx7g4yKROCHBYo7yYKiv2rcnK4j58/gyd3WYU4VADSVhS/9X/4oE4WWQM0AnNEpLLg MCr9e2Gmj3g68AD+zONXnYfpo2YNtj4ISuEPXfKi/2oqHXsYlsQEBP7A4457H5/fzl Yl4CaX3gEeilA== Received: by pali.im (Postfix) id 0BBCB2AB3; Tue, 12 Apr 2022 11:21:50 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Simon Glass , Bin Meng , Adrian Fiergolski , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH 2/5] crc16: Rename fs/ubifs/crc16.h to include/linux/crc16.h Date: Tue, 12 Apr 2022 11:20:41 +0200 Message-Id: <20220412092044.25133-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220412092044.25133-1-pali@kernel.org> References: <20220412092044.25133-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean 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 --- fs/ubifs/crc16.c | 2 +- fs/ubifs/lpt.c | 2 +- fs/ubifs/lpt_commit.c | 2 +- {fs/ubifs => include/linux}/crc16.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {fs/ubifs => include/linux}/crc16.h (100%) diff --git a/fs/ubifs/crc16.c b/fs/ubifs/crc16.c index 443ccf855d5e..7cf33fc7eb61 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 62748b0210b2..27835e60d2c0 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 897d0014306c..ba0b19a1f2b2 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 -- 2.20.1