Re: [PATCH] firmware/broadcom: add missing header dependencies

2016-09-24 Thread Rafał Miłecki
On 24 September 2016 at 07:03, Baoyou Xie  wrote:
> We get 1 warning when building kernel with W=1:
> drivers/firmware/broadcom/bcm47xx_sprom.c:717:5: warning: no previous 
> prototype for 'bcm47xx_sprom_register_fallbacks' [-Wmissing-prototypes]
>
> In fact, this function is declared in include/linux/bcm47xx_sprom.h,
> so this patch adds missing header dependencies.
>
> Signed-off-by: Baoyou Xie 

Acked-by: Rafał Miłecki 


[PATCH] firmware/broadcom: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1:
drivers/firmware/broadcom/bcm47xx_sprom.c:717:5: warning: no previous prototype 
for 'bcm47xx_sprom_register_fallbacks' [-Wmissing-prototypes]

In fact, this function is declared in include/linux/bcm47xx_sprom.h,
so this patch adds missing header dependencies.

Signed-off-by: Baoyou Xie 
---
 drivers/firmware/broadcom/bcm47xx_sprom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/broadcom/bcm47xx_sprom.c 
b/drivers/firmware/broadcom/bcm47xx_sprom.c
index 62aa3cf..3471b86 100644
--- a/drivers/firmware/broadcom/bcm47xx_sprom.c
+++ b/drivers/firmware/broadcom/bcm47xx_sprom.c
@@ -27,6 +27,7 @@
  */
 
 #include 
+#include 
 #include 
 #include 
 #include 
-- 
2.7.4