From 1d2a3f6ca3cf52fa4ed4be938b068639415503ab Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Mon, 9 Dec 2019 18:56:49 +0800 Subject: [PATCH] dm: crypto: move head file to crypto.h Signed-off-by: Joseph Chen Change-Id: Iac0f2e5eec7d0370182f7b6a2c904b4542bbbc37 --- drivers/crypto/crypto-uclass.c | 3 --- include/crypto.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/crypto-uclass.c b/drivers/crypto/crypto-uclass.c index 0158046a81..5c59d0c516 100644 --- a/drivers/crypto/crypto-uclass.c +++ b/drivers/crypto/crypto-uclass.c @@ -3,10 +3,7 @@ * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd */ -#include #include -#include -#include u32 crypto_algo_nbits(u32 algo) { diff --git a/include/crypto.h b/include/crypto.h index 6322052a8d..4faa732f31 100644 --- a/include/crypto.h +++ b/include/crypto.h @@ -6,6 +6,10 @@ #ifndef _CORE_CRYPTO_H_ #define _CORE_CRYPTO_H_ +#include +#include +#include + /* Algorithms/capability of crypto, works together with crypto_algo_nbits() */ #define CRYPTO_MD5 BIT(0) #define CRYPTO_SHA1 BIT(1)