crypto: qat - add missing header inclusion
authorArnd Bergmann <arnd@arndb.de>
Thu, 22 May 2025 10:21:41 +0000 (11:21 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 May 2025 11:25:47 +0000 (19:25 +0800)
commit61fc01f8f7f8e299b9fed5a5e5e068ef0e40593d
treea117bde4bad0d9094edd39a19621089113cf937f
parent0a3cf32da469ff1df6e016f5f82b439a63d14461
crypto: qat - add missing header inclusion

Without this header, the build of the new qat_6xxx driver fails when
CONFIG_PCI_IOV is not set:

    In file included from drivers/crypto/intel/qat/qat_common/adf_gen6_shared.c:7:
    drivers/crypto/intel/qat/qat_common/adf_gen4_pfvf.h: In function 'adf_gen4_init_pf_pfvf_ops':
    drivers/crypto/intel/qat/qat_common/adf_gen4_pfvf.h:13:34: error: 'adf_pfvf_comms_disabled' undeclared (first use in this function)
       13 |         pfvf_ops->enable_comms = adf_pfvf_comms_disabled;
          |                                  ^~~~~~~~~~~~~~~~~~~~~~~

Fixes: 17fd7514ae68 ("crypto: qat - add qat_6xxx driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_gen2_pfvf.h
drivers/crypto/intel/qat/qat_common/adf_gen4_pfvf.h