Explorar o código

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>
Baoyou Xie %!s(int64=9) %!d(string=hai) anos
pai
achega
1ac6b731b8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/crypto/caam/ctrl.c

+ 1 - 0
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);