diff options
author | Lucas Segarra Fernandez <lucas.segarra.fernandez@intel.com> | 2023-12-22 11:35:05 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-29 11:25:55 +0800 |
commit | b6e4b6eb1e6393580482581470a3a08c15ab977b (patch) | |
tree | 995ff1ee46d3929f58aaf769295ad6ab24f52406 /drivers/crypto/intel | |
parent | 38f56101b8733b6d334c836c119c79d49b958a3f (diff) | |
download | linux-stable-b6e4b6eb1e6393580482581470a3a08c15ab977b.tar.gz linux-stable-b6e4b6eb1e6393580482581470a3a08c15ab977b.tar.bz2 linux-stable-b6e4b6eb1e6393580482581470a3a08c15ab977b.zip |
crypto: qat - include pci.h for GET_DEV()
GET_DEV() macro expansion relies on struct pci_dev being defined.
Include <linux/pci.h> at adf_accel_devices.h.
Signed-off-by: Lucas Segarra Fernandez <lucas.segarra.fernandez@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/intel')
-rw-r--r-- | drivers/crypto/intel/qat/qat_common/adf_accel_devices.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/intel/qat/qat_common/adf_accel_devices.h b/drivers/crypto/intel/qat/qat_common/adf_accel_devices.h index 7df6336ddd62..fc7786d71e96 100644 --- a/drivers/crypto/intel/qat/qat_common/adf_accel_devices.h +++ b/drivers/crypto/intel/qat/qat_common/adf_accel_devices.h @@ -6,6 +6,7 @@ #include <linux/module.h> #include <linux/list.h> #include <linux/io.h> +#include <linux/pci.h> #include <linux/ratelimit.h> #include <linux/types.h> #include "adf_cfg_common.h" |