[PATCH v4 03/19] crypto: talitos - Add missing includes to driver header file
Paul Louvel <[email protected]>
| Newsgroups | org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Add explicit includes for types used by the header file to make it self-contained and fix implicit include dependencies. Signed-off-by: Paul Louvel <[email protected]> --- drivers/crypto/talitos/talitos.c | 3 --- drivers/crypto/talitos/talitos.h | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/talitos/talitos.c b/drivers/crypto/talitos/talitos.c index 3550321ddc6c..64b95c7c5eda 100644 --- a/drivers/crypto/talitos/talitos.c +++ b/drivers/crypto/talitos/talitos.c @@ -15,10 +15,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/mod_devicetable.h> -#include <linux/device.h> -#include <linux/interrupt.h> #include <linux/crypto.h> -#include <linux/hw_random.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/platform_device.h> diff --git a/drivers/crypto/talitos/talitos.h b/drivers/crypto/talitos/talitos.h index d4ff8d589f46..56e36a65ddcc 100644 --- a/drivers/crypto/talitos/talitos.h +++ b/drivers/crypto/talitos/talitos.h @@ -5,6 +5,12 @@ * Copyright (c) 2006-2011 Freescale Semiconductor, Inc. */ +#include <linux/device.h> +#include <linux/hw_random.h> +#include <linux/interrupt.h> +#include <linux/scatterlist.h> +#include <linux/types.h> + #define TALITOS_TIMEOUT 100000 #define TALITOS1_MAX_DATA_LEN 32768 #define TALITOS2_MAX_DATA_LEN 65535 -- 2.55.0