]> Pileus Git - ~andy/linux/commit
staging: CSR: fix function declaration warnings
authorEmil Goode <emilgoode@gmail.com>
Sat, 7 Jul 2012 18:44:49 +0000 (20:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jul 2012 18:19:13 +0000 (11:19 -0700)
commit47ec4ed2d23ff3a93f9f575295f17bdaf3d2cec9
tree5dd5c7f5224ef64914c00a6c40fee283b2d82570
parent0932966b1ca03217c6e0c18375867b1a99ee5af0
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>
drivers/staging/csr/csr_wifi_hip_chiphelper.c