From: Herbert Xu Date: Wed, 15 Feb 2023 08:34:38 +0000 (+0800) Subject: crypto: qat - Include algapi.h for low-level Crypto API X-Git-Tag: v6.4-rc1~146^2~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a71b772ba063c47a3d70381dc32448cd5e324b34;p=thirdparty%2Fkernel%2Flinux.git crypto: qat - Include algapi.h for low-level Crypto API Include crypto/algapi.h instead of linux/crypto.h in adf_ctl_drv.c as this is using the low-level Crypto API. It just happens to work currently because MODULE_ALIAS_CRYPTO was mistakenly added to linux/crypto.h. Signed-off-by: Herbert Xu Acked-by: Giovanni Cabiddu Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/qat/qat_common/adf_ctl_drv.c b/drivers/crypto/qat/qat_common/adf_ctl_drv.c index 9190532b27eb5..f030d8a85252b 100644 --- a/drivers/crypto/qat/qat_common/adf_ctl_drv.c +++ b/drivers/crypto/qat/qat_common/adf_ctl_drv.c @@ -1,5 +1,7 @@ // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ + +#include #include #include #include @@ -8,7 +10,6 @@ #include #include #include -#include #include "adf_accel_devices.h" #include "adf_common_drv.h"