Re: [PATCH 2/2] regulator: dbx500: add missing header dependencies

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 8:50:10 PM CEST Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/regulator/dbx500-prcmu.c:158:27: warning: no previous prototype for > 'dbx500_regulator_testcase' [-Wmissing-prototypes] > > In fact, this function is not declared in any

Re: [PATCH 2/2] regulator: dbx500: add missing header dependencies

2016-09-23 Thread Arnd Bergmann
On Friday, September 23, 2016 8:50:10 PM CEST Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/regulator/dbx500-prcmu.c:158:27: warning: no previous prototype for > 'dbx500_regulator_testcase' [-Wmissing-prototypes] > > In fact, this function is not declared in any

[PATCH 2/2] regulator: dbx500: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/regulator/dbx500-prcmu.c:158:27: warning: no previous prototype for 'dbx500_regulator_testcase' [-Wmissing-prototypes] In fact, this function is not declared in any file, but should be declared in a header file. thus can be recognized in

[PATCH 2/2] regulator: dbx500: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/regulator/dbx500-prcmu.c:158:27: warning: no previous prototype for 'dbx500_regulator_testcase' [-Wmissing-prototypes] In fact, this function is not declared in any file, but should be declared in a header file. thus can be recognized in