staging:rtl8821ae:Fix sparse warning of static function declaration
authorHimangi Saraogi <himangi774@gmail.com>
Mon, 10 Mar 2014 11:58:55 +0000 (17:28 +0530)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tue, 11 Mar 2014 06:25:08 +0000 (23:25 -0700)
This patch makes the function _rtl8821ae_map_hwqueue_to_fwqueue
static as it is used only in the file trx.c.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rtl8821ae/rtl8821ae/trx.c

index 5f3246454e3ee778a7f091c97c6d1129512cbd48..dd0f6dcb30859bced6fa096f8762d7b9d8c7f389 100644 (file)
@@ -38,7 +38,7 @@
 #include "led.h"
 #include "dm.h"
 
-u8 _rtl8821ae_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue)
+static u8 _rtl8821ae_map_hwqueue_to_fwqueue(struct sk_buff *skb, u8 hw_queue)
 {
        u16 fc = rtl_get_fc(skb);