summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_fcs_uf.c
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2010-03-03 17:43:30 -0800
committerJames Bottomley <James.Bottomley@suse.de>2010-03-04 16:14:10 +0530
commit82794a2e4153657d12a0c29272e40b47eaadb748 (patch)
tree2c3296590a56deef6a63bbfb881a424d0673f4d9 /drivers/scsi/bfa/bfa_fcs_uf.c
parent5b098082e22c168b7df4c5c3cd924047cee7d995 (diff)
downloadblackbird-op-linux-82794a2e4153657d12a0c29272e40b47eaadb748.tar.gz
blackbird-op-linux-82794a2e4153657d12a0c29272e40b47eaadb748.zip
[SCSI] bfa: New interface to handle firmware upgrade scenario
Split bfa_fcs_init() into bfa_fcs_attach() and bfa_fcs_init(). Removed empty function definitions in FCS modules Modified driver to call bfa_fcs_attach() and bfa_fcs_init() as needed. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcs_uf.c')
-rw-r--r--drivers/scsi/bfa/bfa_fcs_uf.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs_uf.c b/drivers/scsi/bfa/bfa_fcs_uf.c
index ad01db6444b2..3d57d48bbae4 100644
--- a/drivers/scsi/bfa/bfa_fcs_uf.c
+++ b/drivers/scsi/bfa/bfa_fcs_uf.c
@@ -93,13 +93,7 @@ bfa_fcs_uf_recv(void *cbarg, struct bfa_uf_s *uf)
}
void
-bfa_fcs_uf_modinit(struct bfa_fcs_s *fcs)
+bfa_fcs_uf_attach(struct bfa_fcs_s *fcs)
{
bfa_uf_recv_register(fcs->bfa, bfa_fcs_uf_recv, fcs);
}
-
-void
-bfa_fcs_uf_modexit(struct bfa_fcs_s *fcs)
-{
- bfa_fcs_modexit_comp(fcs);
-}
OpenPOWER on IntegriCloud