Re: [PATCH] HSI: omap_ssi_core: move function declaration to header file

2016-09-24 Thread Sebastian Reichel
Hi, On Sat, Sep 24, 2016 at 10:58:15AM +0200, Arnd Bergmann wrote: > On Saturday, September 24, 2016 1:11:56 PM CEST Baoyou Xie wrote: > > --- > > drivers/hsi/clients/ssi_protocol.c | 2 -- > > include/linux/hsi/hsi.h| 1 + > > 2 files changed, 1 insertion(+), 2 deletions(-) > > > >

Re: [PATCH] HSI: omap_ssi_core: move function declaration to header file

2016-09-24 Thread Arnd Bergmann
On Saturday, September 24, 2016 1:11:56 PM CEST Baoyou Xie wrote: > --- > drivers/hsi/clients/ssi_protocol.c | 2 -- > include/linux/hsi/hsi.h| 1 + > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/hsi/clients/ssi_protocol.c > b/drivers/hsi/clients/ssi_proto

[PATCH] HSI: omap_ssi_core: move function declaration to header file

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/hsi/controllers/omap_ssi_core.c:181:6: warning: no previous prototype for 'ssi_waketest' [-Wmissing-prototypes] In fact, this function is declared in drivers/hsi/clients/ssi_protocol.c, but should be declared in a header file. So this patch