Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490550

[PATCH] firmware/broadcom: add missing header dependencies

From Baoyou Xie <baoyou.xie@linaro.org>
Newsgroups linux.kernel
Subject [PATCH] firmware/broadcom: add missing header dependencies
Date 2016-09-24 07:10 +0200
Message-ID <skNnP-5ft-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 <baoyou.xie@linaro.org>
---
 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 <linux/bcm47xx_nvram.h>
+#include <linux/bcm47xx_sprom.h>
 #include <linux/bcma/bcma.h>
 #include <linux/etherdevice.h>
 #include <linux/if_ether.h>
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] firmware/broadcom: add missing header dependencies Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-24 07:10 +0200
  Re: [PATCH] firmware/broadcom: add missing header dependencies Rafał Miłecki <zajec5@gmail.com> - 2016-09-24 14:30 +0200

csiph-web