Re: [PATCH 4/6] isdn/hisax: clean function declaration in hscx.c up

From: Sergei Shtylyov
Date: Sat Sep 24 2016 - 10:17:28 EST


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@xxxxxxxxxx>
[...]

MBR, Sergei