soc: brcmstb: fix warning from missing include
PATCH 1/1 soc: brcmstb: fix warning from missing include
The brcmstb_biuctrl_init() is defined in the soc specific header file, but wasn't included in the driver file. Fix the following warning by including <linux/soc/brcmstb/brcmstb.h> in the driver:
drivers/soc/brcmstb/biuctrl.c:101:13: warning: symbol 'brcmstb_biuctrl_init' was not declared. Should it be static?
---
Cc: Brian Norris <[email protected]>
Cc: Gregory Fong <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: linux-arm-kernel at lists.infradead.org
Cc: bcm-kernel-feedback-list at broadcom.com
--- drivers/soc/brcmstb/biuctrl.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/brcmstb/biuctrl.c +1 -0
@@ -19,6 +19,7 @@#include <linux/io.h> #include <linux/of_address.h> #include <linux/syscore_ops.h> +#include <linux/soc/brcmstb/brcmstb.h> #define CPU_CREDIT_REG_OFFSET 0x184#define CPU_CREDIT_REG_MCPx_WR_PAIRING_EN_MASK 0x70000000
Signature · 1 line
2.8.1
Florian Fainelli
AppliedPATCH 1/1 soc: brcmstb: fix warning from missing include
Quoted 7 lines · Ben Dooks
The
brcmstb_biuctrl_init()is defined in the soc specific header file, but wasn't included in the driver file. Fix the following warning by including <linux/soc/brcmstb/brcmstb.h> in the driver:
drivers/soc/brcmstb/biuctrl.c:101:13: warning: symbol 'brcmstb_biuctrl_init' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>
Applied, thanks Ben!
Signature · 1 line
Florian