bna: fix sparse warnings/errors
authorstephen hemminger <shemminger@vyatta.com>
Wed, 4 Jan 2012 13:02:24 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2012 18:23:00 +0000 (13:23 -0500)
commite1e0918fcaea7b8100ed9f96f3ecd9eb9b867102
tree60caa3f37801b440f2918c05ae838e9480482f43
parent975419cf01fc6997879196d1c8f5ebffd30d3b20
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>
drivers/net/ethernet/brocade/bna/bna_types.h
drivers/net/ethernet/brocade/bna/bnad.c
drivers/net/ethernet/brocade/bna/bnad.h
drivers/net/ethernet/brocade/bna/cna_fwimg.c