diff mbox

[OPW,kernel] staging:rtl8821ae:btcoexist: Fix non-ANSI sparse warnings

Message ID 20140308234250.GA5806@himangi-Inspiron-N5110gmail.com
State New, archived
Headers show

Commit Message

HIMANGI SARAOGI March 8, 2014, 11:42 p.m. UTC
This patch fixes the sparse warning:
drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c:1080:41: warning: non-ANSI function declaration of function
by adding void to the parameterless function.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
---
 drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rik van Riel March 9, 2014, 4:08 p.m. UTC | #1
On 03/08/2014 06:42 PM, Himangi Saraogi wrote:
> This patch fixes the sparse warning:
> drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c:1080:41: warning: non-ANSI function declaration of function
> by adding void to the parameterless function.
> 
> Signed-off-by: Himangi Saraogi <himangi774@gmail.com>

Acked-by: Rik van Riel <riel@redhat.com>
diff mbox

Patch

diff --git a/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c b/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
index 1152fc8..c4e8377 100644
--- a/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
+++ b/drivers/staging/rtl8821ae/btcoexist/halbtcoutsrc.c
@@ -1077,7 +1077,7 @@  void exhalbtc_dbg_control(struct btc_coexist *btcoexist,
 	btcoexist->statistics.cnt_dbg_ctrl++;
 }
 
-void exhalbtc_stack_update_profile_info()
+void exhalbtc_stack_update_profile_info(void)
 {
 }