Messages in this thread Patch in this message |  | | From | Bartosz Golaszewski <> | | Date | Fri, 28 Nov 2025 12:44:02 +0100 | | Subject | [PATCH v9 04/11] crypto: qce - Include algapi.h in the core.h header |
| |
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
The header defines a struct embedding struct crypto_queue whose size needs to be known and which is defined in crypto/algapi.h. Move the inclusion from core.c to core.h.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- drivers/crypto/qce/core.c | 1 - drivers/crypto/qce/core.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index b966f3365b7de8d2a8f6707397a34aa4facdc4ac..65205100c3df961ffaa4b7bc9e217e8d3e08ed57 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -13,7 +13,6 @@ #include <linux/mod_devicetable.h> #include <linux/platform_device.h> #include <linux/types.h> -#include <crypto/algapi.h> #include <crypto/internal/hash.h> #include "core.h" diff --git a/drivers/crypto/qce/core.h b/drivers/crypto/qce/core.h index eb6fa7a8b64a81daf9ad5304a3ae4e5e597a70b8..f092ce2d3b04a936a37805c20ac5ba78d8fdd2df 100644 --- a/drivers/crypto/qce/core.h +++ b/drivers/crypto/qce/core.h @@ -8,6 +8,7 @@ #include <linux/mutex.h> #include <linux/workqueue.h> +#include <crypto/algapi.h> #include "dma.h" -- 2.51.0
|  |