diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-07-26 06:15:20 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-17 13:47:28 +0200 |
commit | d92aabca4df182763cd541d342f2d55f8c0a827c (patch) | |
tree | 355d91105acb5a4b08253743e76355ed89a030d5 /drivers/firmware | |
parent | MIPS: BCM63xx: switch to SPDX license identifier (diff) | |
download | linux-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.c | 1 |
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> |