From: Ana Rey Date: Thu, 13 Mar 2014 09:53:11 +0000 (+0100) Subject: staging: rts5139: Added in ms_mg.c an include to fix a sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=884715f34a8ed4f17337d973d87fc4f2647ce47f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rts5139: Added in ms_mg.c an include to fix a sparse warning Fix the following warnings from sparse in drivers/staging/rts5139/ms_mg.c due to the missing include of ms_mg.h drivers/staging/rts5139/ms_mg.c:81:5: warning: symbol 'mg_set_tpc_para_sub' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:122:5: warning: symbol 'rts51x_mg_set_leaf_id' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:173:5: warning: symbol 'rts51x_mg_get_local_EKB' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:232:5: warning: symbol 'rts51x_mg_chg' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:323:5: warning: symbol 'rts51x_mg_get_rsp_chg' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:392:5: warning: symbol 'rts51x_mg_rsp' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:450:5: warning: symbol 'rts51x_mg_get_ICV' was not declared. Should it be static? drivers/staging/rts5139/ms_mg.c:514:5: warning: symbol 'rts51x_mg_set_ICV' was not declared. Should it be static? Signed-off-by: Ana Rey Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/rts5139/ms_mg.c b/drivers/staging/rts5139/ms_mg.c index 54cfd85259a9..00862c1a36db 100644 --- a/drivers/staging/rts5139/ms_mg.c +++ b/drivers/staging/rts5139/ms_mg.c @@ -35,6 +35,7 @@ #include "rts51x_scsi.h" #include "rts51x_card.h" #include "ms.h" +#include "ms_mg.h" #ifdef SUPPORT_MAGIC_GATE