diff options
| author | Marcel Hamer <marcel.hamer@windriver.com> | 2024-12-11 14:36:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:57:04 +0100 |
| commit | fa4eada0ab4831a533a8612bb6159cfa23fd4112 (patch) | |
| tree | f40c0cca203834d2619946373d23f78eaeed7635 /Documentation | |
| parent | 27013847229f041efdaaa043a32c956adac4b579 (diff) | |
| download | linux-fa4eada0ab4831a533a8612bb6159cfa23fd4112.tar.gz linux-fa4eada0ab4831a533a8612bb6159cfa23fd4112.tar.bz2 linux-fa4eada0ab4831a533a8612bb6159cfa23fd4112.zip | |
wifi: brcmfmac: add missing header include for brcmf_dbg
[ Upstream commit b05d30c2b6df7e2172b18bf1baee9b202f9c6b53 ]
Including the fwil.h header file can lead to a build error:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.h: \
In function ‘brcmf_fil_cmd_int_set’:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.h:90:9: error: implicit \
declaration of function ‘brcmf_dbg’ [-Werror=implicit-function-declaration]
90 | brcmf_dbg(FIL, "ifidx=%d, cmd=%d, value=%d\n", ifp->ifidx, cmd, data);
| ^~~~~~~~~
The error is often avoided because the debug.h header file is included
before the fwil.h header file.
This makes sure the header include order is irrelevant by explicitly adding the
debug.h header.
Fixes: 31343230abb1 ("wifi: brcmfmac: export firmware interface functions")
Signed-off-by: Marcel Hamer <marcel.hamer@windriver.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241211133618.2014083-1-marcel.hamer@windriver.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
