crypto: caam - add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 26 Aug 2016 09:56:24 +0000 (17:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Aug 2016 15:00:41 +0000 (23:00 +0800)
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>
drivers/crypto/caam/ctrl.c

index f4c044f5bcb28a373ab1abf4aa226707db2a8c27..72ff196589851d652ff4d369bf0ce497aa0e2165 100644 (file)
@@ -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);