staging: CSR: fix function declaration warnings
Sparse is warning about non-ANSI function declaration. Add void to the parameterless function. drivers/staging/csr/csr_wifi_hip_chiphelper.c:633:31: warning: non-ANSI function declaration of function 'ChipHelper_Null' I also fixed this checkpatch error: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Emil Goode <emilgoode@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0932966b1c
commit
47ec4ed2d2
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ ChipDescript* ChipHelper_GetVersionUniFi(CsrUint16 ver)
|
|||
}
|
||||
|
||||
|
||||
ChipDescript* ChipHelper_Null()
|
||||
ChipDescript *ChipHelper_Null(void)
|
||||
{
|
||||
return &chip_device_desc_null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue