From: Arend van Spriel Date: Wed, 25 Nov 2015 10:32:45 +0000 (+0100) Subject: brcmfmac: assure net_ratelimit() is declared before use X-Git-Tag: v4.5-rc1~128^2~185^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4fd63c608a2d0c74730d71c8f620604b4b86ef9;p=platform%2Fkernel%2Flinux-exynos.git brcmfmac: assure net_ratelimit() is declared before use Under some kernel configuration we get build issue with implicit declaration of net_ratelimit() function. Fix this by explicitly including the file providing the prototype. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h index d0d9676..6687812 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h @@ -17,6 +17,8 @@ #ifndef BRCMFMAC_DEBUG_H #define BRCMFMAC_DEBUG_H +#include /* net_ratelimit() */ + /* message levels */ #define BRCMF_TRACE_VAL 0x00000002 #define BRCMF_INFO_VAL 0x00000004