Messages in this thread | | | Subject | Re: [PATCH 4/6] isdn/hisax: clean function declaration in hscx.c up | From | Sergei Shtylyov <> | Date | Sat, 24 Sep 2016 17:17:17 +0300 |
| |
Hello.
On 9/24/2016 8:24 AM, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1: > drivers/isdn/hisax/hscx.c:175:1: warning: no previous prototype for 'open_hscxstate' [-Wmissing-prototypes] > > In fact, this function is declared in > drivers/isdn/hisax/elsa_ser.c, but should be > declard in a header file, thus can be recognized in other file.
Declared.
> So this patch moves the declaration into drivers/isdn/hisax/hscx.h. > > Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> [...]
MBR, Sergei
| |