summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2020-07-26 06:15:20 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-08-17 13:47:28 +0200
commitd92aabca4df182763cd541d342f2d55f8c0a827c (patch)
tree355d91105acb5a4b08253743e76355ed89a030d5 /drivers/firmware
parentMIPS: BCM63xx: switch to SPDX license identifier (diff)
downloadlinux-d92aabca4df182763cd541d342f2d55f8c0a827c.tar.xz
linux-d92aabca4df182763cd541d342f2d55f8c0a827c.zip
firmware: bcm47xx_sprom: Fix -Wmissing-prototypes warnings
bcm47xx_sprom.h did not include a prototype for bcm47xx_fill_sprom() therefore add one, and make sure we do include that header to fix -Wmissing-prototypes warnings. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/broadcom/bcm47xx_sprom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/broadcom/bcm47xx_sprom.c b/drivers/firmware/broadcom/bcm47xx_sprom.c
index 4787f86c8ac1..14fbcd11657c 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>