diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-07-26 07:15:20 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-08-17 14:47:28 +0300 |
commit | d92aabca4df182763cd541d342f2d55f8c0a827c (patch) | |
tree | 355d91105acb5a4b08253743e76355ed89a030d5 /drivers/firmware/broadcom | |
parent | 08b5666db72273d2054a2a48961c6c33f9d697b2 (diff) | |
download | linux-d92aabca4df182763cd541d342f2d55f8c0a827c.tar.xz |
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/broadcom')
-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> |