]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - move adf_cfg_services
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Fri, 20 Oct 2023 14:52:51 +0000 (15:52 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:51 +0000 (18:19 -0400)
commita3eb010943ae7c9ce311711ef210fd68b906938c
treea1c57f4e6abf48274b2fe505be0b9cbf82a4c8e4
parentf5aa20882eea6932e364615621de97006a6cb57e
crypto: qat - move adf_cfg_services

[ Upstream commit 03c76e8e7a8d0d465838b8eaffcc07bdcc364f4d ]

The file adf_cfg_services.h cannot be included in header files since it
instantiates the structure adf_cfg_services. Move that structure to its
own file and export the symbol.

This does not introduce any functional change.

Signed-off-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>
Stable-dep-of: df018f82002a ("crypto: qat - fix ring to service map for dcc in 4xxx")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
drivers/crypto/intel/qat/qat_common/Makefile
drivers/crypto/intel/qat/qat_common/adf_cfg_services.c [new file with mode: 0644]
drivers/crypto/intel/qat/qat_common/adf_cfg_services.h