mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-01 00:36:40 +09:00
staging: cxt1e1: fix sbeCrc function declaration
This patch fixes the following sparse warning: drivers/staging/cxt1e1/sbecrc.c:86:1: warning: symbol 'sbeCrc' was not declared. Should it be static? Furthermore it fixes wring sbeCrc return type in function declaration. Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2eca281675
commit
7bb3c79862
@@ -94,7 +94,7 @@ void sbecom_set_loglevel (int debuglevel);
|
||||
char *sbeid_get_bdname (ci_t *ci);
|
||||
void sbeid_set_bdtype (ci_t *ci);
|
||||
void sbeid_set_hdwbid (ci_t *ci);
|
||||
u_int32_t sbeCrc (u_int8_t *, u_int32_t, u_int32_t, u_int32_t *);
|
||||
void sbeCrc(u_int8_t *, u_int32_t, u_int32_t, u_int32_t *);
|
||||
|
||||
void VMETRO_TRIGGER (ci_t *, int); /* Note: int = 0(default)
|
||||
* thru 15 */
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "musycc.h"
|
||||
#include "sbe_promformat.h"
|
||||
#include "comet.h"
|
||||
#include "sbecom_inline_linux.h"
|
||||
|
||||
|
||||
/* driver state */
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/types.h>
|
||||
#include "pmcc4.h"
|
||||
#include "pmcc4_sysdep.h"
|
||||
#include "sbecom_inline_linux.h"
|
||||
#include "sbe_promformat.h"
|
||||
|
||||
Reference in New Issue
Block a user