diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-08-02 18:20:11 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 15:12:04 +1000 |
commit | f6b0b78a5c6c198b31967bfc2c7d17150980a0f6 (patch) | |
tree | 3d4ae020d72d39dca02d7d6d817ba2c85ef7f066 /drivers/crypto/ccp/ccp-dev.h | |
parent | 2229c74079285c8f99754450e56d4d9814558e57 (diff) | |
download | linux-f6b0b78a5c6c198b31967bfc2c7d17150980a0f6.tar.gz linux-f6b0b78a5c6c198b31967bfc2c7d17150980a0f6.tar.bz2 linux-f6b0b78a5c6c198b31967bfc2c7d17150980a0f6.zip |
crypto: ccp - Include DMA declarations explicitly
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 <bhelgaas@google.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev.h')
-rw-r--r-- | drivers/crypto/ccp/ccp-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index dd13468111cd..2fe5713fd40e 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -17,6 +17,7 @@ #include <linux/mutex.h> #include <linux/list.h> #include <linux/wait.h> +#include <linux/dma-direction.h> #include <linux/dmapool.h> #include <linux/hw_random.h> #include <linux/bitops.h> |