Skip to content

Commit

Permalink
wl12xx: fix sparse warning about undeclared wl12xx_alloc_dummy_packet
Browse files Browse the repository at this point in the history
Fix sparse warning:

  CHECK   drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/main.c:1246:17: warning: symbol 'wl12xx_alloc_dummy_packet' was not declared. Should it be static?

Signed-off-by: Luciano Coelho <coelho@ti.com>
  • Loading branch information
Luciano Coelho committed Apr 19, 2011
1 parent 4ec23d6 commit cf27d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ int wl1271_tx_dummy_packet(struct wl1271 *wl)
*/
#define TOTAL_TX_DUMMY_PACKET_SIZE (ALIGN(1400, 512))

struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl)
static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl)
{
struct sk_buff *skb;
struct ieee80211_hdr_3addr *hdr;
Expand Down

0 comments on commit cf27d86

Please sign in to comment.