OSDN Git Service

staging: vt6656: Fix CARDvCalculateOFDMRParameter static warning
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 26 May 2014 12:59:08 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:36:50 +0000 (10:36 -0700)
Fix  warning: symbol 'CARDvCalculateOFDMRParameter' was not declared. Should it be static?

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c

index 06f8b00..5ad0a98 100644 (file)
@@ -197,7 +197,7 @@ static u16 swGetOFDMControlRate(struct vnt_private *priv, u16 rate_idx)
  * Return Value: none
  *
  */
-void CARDvCalculateOFDMRParameter(u16 rate, u8 bb_type,
+static void CARDvCalculateOFDMRParameter(u16 rate, u8 bb_type,
                                        u8 *tx_rate, u8 *rsv_time)
 {