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 X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A975C433FF for ; Fri, 2 Aug 2019 23:20:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 111972087E for ; Fri, 2 Aug 2019 23:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564788038; bh=9gp3B9gbhH2ZTSo7+j6VMH2Gi2WUfP7gR3sWVzmuTSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=iZWrWyzlMgEQmx2NNZI+b90bYPHhUIw0gjfIzk795+/uq9ty5fGLQgT7YtFhqzVmq RQgdJEztmklsyj7jCqFFG4EGIf+/crBp7Ps1UeGBCid9sxLvj/5RKgT60WzDHqUkVf xyDKZ4Ab3gqDaLuuhhUXJeFrj0wBahKeSiMkfwGM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437500AbfHBXUg (ORCPT ); Fri, 2 Aug 2019 19:20:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:59976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387495AbfHBXUe (ORCPT ); Fri, 2 Aug 2019 19:20:34 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B77CF20B7C; Fri, 2 Aug 2019 23:20:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564788034; bh=9gp3B9gbhH2ZTSo7+j6VMH2Gi2WUfP7gR3sWVzmuTSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qKmn9VW1iKWlTX8Kt3LRZcO76QAt6JTZh8Li9HFVWVZq5JrRtjP110s3JbSX3dhM2 o/Owc4P8nENVX1QvjP0PypYeGTgAofnneLkE44qldFRaIf2O73AhWjlJQYia4PR/HN PLSyaeEsqKBQCC9ZQwjccd/VWsMcP2Dm/OatznsI= From: Bjorn Helgaas To: Tom Lendacky , Gary Hook Cc: Herbert Xu , "David S . Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 1/2] crypto: ccp - Include DMA declarations explicitly Date: Fri, 2 Aug 2019 18:20:11 -0500 Message-Id: <20190802232013.15957-2-helgaas@kernel.org> X-Mailer: git-send-email 2.22.0.770.g0f2c4a37fd-goog In-Reply-To: <20190802232013.15957-1-helgaas@kernel.org> References: <20190802232013.15957-1-helgaas@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas ccp-dev.h uses dma_direction, which is defined in linux/dma-direction.h. Include that explicitly instead of relying on it being included via linux/pci.h, since ccp-dev.h requires nothing else from linux/pci.h. Similarly, ccp-dmaengine.c uses dma_get_mask(), which is defined in linux/dma-mapping.h, so include that explicitly since it requires nothing else from linux/pci.h. A future patch will remove the includes of linux/pci.h where it is not needed. Signed-off-by: Bjorn Helgaas --- drivers/crypto/ccp/ccp-dev.h | 1 + drivers/crypto/ccp/ccp-dmaengine.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index 5e624920fd99..89aee0900a06 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/crypto/ccp/ccp-dmaengine.c b/drivers/crypto/ccp/ccp-dmaengine.c index 7f22a45bbc11..f69d495873f0 100644 --- a/drivers/crypto/ccp/ccp-dmaengine.c +++ b/drivers/crypto/ccp/ccp-dmaengine.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include -- 2.22.0.770.g0f2c4a37fd-goog