From: Luciano Coelho Date: Fri, 1 Apr 2011 18:08:23 +0000 (+0300) Subject: wl12xx: fix sparse warning about undeclared wl12xx_alloc_dummy_packet X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~329^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cf27d8677515441602f5e4e40f90448e964504b8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git wl12xx: fix sparse warning about undeclared wl12xx_alloc_dummy_packet 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 --- diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index 732fd21beafb..866453bc1d1f 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c @@ -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;