summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2013-08-14 15:41:22 +0000
committerRobert Love <robert.w.love@intel.com>2013-09-04 13:59:47 -0700
commit41463a8851cd334341d143fbed558fa0c2e6865b (patch)
tree9270a083976ab34e528f127e05a545a3d46ac7ea /drivers/scsi
parent9de99010cbebca4d4343117eff1af9a64d5d4896 (diff)
downloadtalos-obmc-linux-41463a8851cd334341d143fbed558fa0c2e6865b.tar.gz
talos-obmc-linux-41463a8851cd334341d143fbed558fa0c2e6865b.zip
fcoe: Declare fcoe_ctlr_mode_set() static
The function fcoe_ctlr_mode_set() is local, hence declare it static. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/fcoe/fcoe_ctlr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index 35b1fb73bd6b..9e83a790aa6b 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -2828,8 +2828,8 @@ unlock:
* disabled, so that should ensure that this routine is only called
* when nothing is happening.
*/
-void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip,
- enum fip_state fip_mode)
+static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip,
+ enum fip_state fip_mode)
{
void *priv;
OpenPOWER on IntegriCloud