Skip to content

Commit b6e4b6e

Browse files
pilotAlpalherbertx
authored andcommitted
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>
1 parent 38f5610 commit b6e4b6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/intel/qat/qat_common/adf_accel_devices.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <linux/module.h>
77
#include <linux/list.h>
88
#include <linux/io.h>
9+
#include <linux/pci.h>
910
#include <linux/ratelimit.h>
1011
#include <linux/types.h>
1112
#include "adf_cfg_common.h"

0 commit comments

Comments
 (0)