Re: [PATCH] fix:caam:ctrl:add missing header dependencies

2016-08-31 Thread Herbert Xu
On Fri, Aug 26, 2016 at 05:56:24PM +0800, Baoyou Xie wrote: > 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] fix:caam:ctrl:add missing header dependencies

2016-08-26 Thread Baoyou Xie
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 ---