aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Segarra Fernandez <[email protected]>2023-12-22 11:35:05 +0100
committerHerbert Xu <[email protected]>2023-12-29 11:25:55 +0800
commitb6e4b6eb1e6393580482581470a3a08c15ab977b (patch)
tree995ff1ee46d3929f58aaf769295ad6ab24f52406
parent38f56101b8733b6d334c836c119c79d49b958a3f (diff)
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 <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Damian Muszynski <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
-rw-r--r--drivers/crypto/intel/qat/qat_common/adf_accel_devices.h1
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"