Re: [PATCH 3/6] isdn/hisax: add function declarations

2016-09-25 Thread Arnd Bergmann
On Sunday 25 September 2016, Baoyou Xie wrote: > > > @@ -1350,3 +1350,63 @@ static inline struct pci_dev > > *hisax_find_pci_device(unsigned int vendor, > > > } > > > > > > #endif > > > + > > > +#if CARD_TELES3 > > > +int setup_teles3(struct IsdnCard *card); > > > +#endif > > > + > > > +#if CARD_

Re: [PATCH 3/6] isdn/hisax: add function declarations

2016-09-24 Thread Arnd Bergmann
On Saturday, September 24, 2016 1:21:47 PM CEST Baoyou Xie wrote: > --- a/drivers/isdn/hisax/config.c > +++ b/drivers/isdn/hisax/config.c > @@ -460,42 +460,14 @@ __setup("hisax=", HiSax_setup); > extern int setup_teles0(struct IsdnCard *card); > #endif > > -#if CARD_TELES3 > -extern int setup_t

[PATCH 3/6] isdn/hisax: add function declarations

2016-09-23 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/isdn/hisax/teles3.c:273:5: warning: no previous prototype for 'setup_teles3' [-Wmissing-prototypes] drivers/isdn/hisax/s0box.c:213:5: warning: no previous prototype for 'setup_s0box' [-Wmissing-prototypes] drivers/isdn/hisax/bkm_a4t.c:3