bna: Fixed build break for allyesconfig
authorRasesh Mody <rmody@brocade.com>
Thu, 26 Aug 2010 06:00:27 +0000 (23:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2010 06:00:27 +0000 (23:00 -0700)
commit8a891429d1879ae4f37f547ef5c2d68e19277e4a
treeac759c522cbc86c4373d6086ccd800e9aea09c7f
parentced1de4c9eeded664e5f1b21cfcb0fb70cc0cde3
bna: Fixed build break for allyesconfig

This is the patch to fix the build break caused by multiple
definitions of symbols between Brocade's FC/FCOE driver(BFA)
and 10G Networking Driver(BNA).

Changes are:

1. locally used functions are made static

2. unused functions are removed

3. using unique namespaces for the function names that must be
globally visible

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bfa_cee.c
drivers/net/bna/bfa_cee.h
drivers/net/bna/bfa_ioc.c
drivers/net/bna/bfa_ioc.h
drivers/net/bna/bfa_ioc_ct.c
drivers/net/bna/bna_ctrl.c
drivers/net/bna/bnad.c
drivers/net/bna/bnad_ethtool.c