summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade/bna/bnad.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-01-04 13:02:24 +0000
committerDavid S. Miller <davem@davemloft.net>2012-01-05 13:23:00 -0500
commite1e0918fcaea7b8100ed9f96f3ecd9eb9b867102 (patch)
tree60caa3f37801b440f2918c05ae838e9480482f43 /drivers/net/ethernet/brocade/bna/bnad.h
parent975419cf01fc6997879196d1c8f5ebffd30d3b20 (diff)
downloadlinux-e1e0918fcaea7b8100ed9f96f3ecd9eb9b867102.tar.bz2
bna: fix sparse warnings/errors
This fixes a several sparse warnings. * the __iomem tag was being used incorrectly (needs to be a prefix) * several variables should have been static since local to one file * the firmware was not being forwared declared and was const one place and not the other Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bnad.h')
-rw-r--r--drivers/net/ethernet/brocade/bna/bnad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bnad.h b/drivers/net/ethernet/brocade/bna/bnad.h
index c975ce672f48..55824d92699f 100644
--- a/drivers/net/ethernet/brocade/bna/bnad.h
+++ b/drivers/net/ethernet/brocade/bna/bnad.h
@@ -347,7 +347,7 @@ struct bnad_drvinfo {
/*
* EXTERN VARIABLES
*/
-extern struct firmware *bfi_fw;
+extern const struct firmware *bfi_fw;
extern u32 bnad_rxqs_per_cq;
/*