summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-08-26 12:56:24 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-31 18:00:41 +0300
commit1ac6b731b81cbbd2b6da389949f65f2d1e453d69 (patch)
tree8c5dc97d63ee9e64d19a1ef878fd6fdd073232a9 /drivers/crypto
parentcc2f1908c6b8f6257b7da9124ce6d859c13cba3b (diff)
downloadlinux-1ac6b731b81cbbd2b6da389949f65f2d1e453d69.tar.xz
crypto: caam - add missing header dependencies
We get 1 warning when biuld kernel with W=1: drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for 'caam_get_era' [-Wmissing-prototypes] In fact, this function is declared in drivers/crypto/caam/ctrl.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/ctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index f4c044f5bcb2..72ff19658985 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -14,6 +14,7 @@
#include "jr.h"
#include "desc_constr.h"
#include "error.h"
+#include "ctrl.h"
bool caam_little_end;
EXPORT_SYMBOL(caam_little_end);