mbox series

[0/2] crypto: ccp - Remove unnecessary includes

Message ID 20190802232013.15957-1-helgaas@kernel.org (mailing list archive)
Headers show
Series crypto: ccp - Remove unnecessary includes | expand

Message

Bjorn Helgaas Aug. 2, 2019, 11:20 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

CCP includes <linux/pci.h> many times unnecessarily.  Add a couple
DMA-related includes for dma_direction and dma_get_mask(), which were
previously included indirectly via <linux/pci.h>.  Then remove the
unnecessary includes of <linux/pci.h>.

Bjorn Helgaas (2):
  crypto: ccp - Include DMA declarations explicitly
  crypto: ccp - Remove unnecessary linux/pci.h include

 drivers/crypto/ccp/ccp-crypto.h    | 1 -
 drivers/crypto/ccp/ccp-dev-v3.c    | 1 -
 drivers/crypto/ccp/ccp-dev-v5.c    | 1 -
 drivers/crypto/ccp/ccp-dev.h       | 2 +-
 drivers/crypto/ccp/ccp-dmaengine.c | 1 +
 drivers/crypto/ccp/ccp-ops.c       | 1 -
 drivers/crypto/ccp/psp-dev.h       | 1 -
 drivers/crypto/ccp/sp-dev.h        | 1 -
 8 files changed, 2 insertions(+), 7 deletions(-)

Comments

Herbert Xu Aug. 9, 2019, 6:20 a.m. UTC | #1
On Fri, Aug 02, 2019 at 06:20:10PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> CCP includes <linux/pci.h> many times unnecessarily.  Add a couple
> DMA-related includes for dma_direction and dma_get_mask(), which were
> previously included indirectly via <linux/pci.h>.  Then remove the
> unnecessary includes of <linux/pci.h>.
> 
> Bjorn Helgaas (2):
>   crypto: ccp - Include DMA declarations explicitly
>   crypto: ccp - Remove unnecessary linux/pci.h include
> 
>  drivers/crypto/ccp/ccp-crypto.h    | 1 -
>  drivers/crypto/ccp/ccp-dev-v3.c    | 1 -
>  drivers/crypto/ccp/ccp-dev-v5.c    | 1 -
>  drivers/crypto/ccp/ccp-dev.h       | 2 +-
>  drivers/crypto/ccp/ccp-dmaengine.c | 1 +
>  drivers/crypto/ccp/ccp-ops.c       | 1 -
>  drivers/crypto/ccp/psp-dev.h       | 1 -
>  drivers/crypto/ccp/sp-dev.h        | 1 -
>  8 files changed, 2 insertions(+), 7 deletions(-)

All applied.  Thanks.