aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/fcoe/fcoe.c4
-rw-r--r--drivers/scsi/libfc/fc_rport.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index 03e1926f40b5..d08121f246c3 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -1350,13 +1350,13 @@ out:
1350/** 1350/**
1351 * fcoe_dev_setup() - setup link change notification interface 1351 * fcoe_dev_setup() - setup link change notification interface
1352 */ 1352 */
1353static void fcoe_dev_setup() 1353static void fcoe_dev_setup(void)
1354{ 1354{
1355 register_netdevice_notifier(&fcoe_notifier); 1355 register_netdevice_notifier(&fcoe_notifier);
1356} 1356}
1357 1357
1358/** 1358/**
1359 * fcoe_dev_setup() - cleanup link change notification interface 1359 * fcoe_dev_cleanup() - cleanup link change notification interface
1360 */ 1360 */
1361static void fcoe_dev_cleanup(void) 1361static void fcoe_dev_cleanup(void)
1362{ 1362{
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c
index 747d73c5c8af..3f5094ebc397 100644
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -1330,7 +1330,7 @@ int fc_rport_init(struct fc_lport *lport)
1330} 1330}
1331EXPORT_SYMBOL(fc_rport_init); 1331EXPORT_SYMBOL(fc_rport_init);
1332 1332
1333int fc_setup_rport() 1333int fc_setup_rport(void)
1334{ 1334{
1335 rport_event_queue = create_singlethread_workqueue("fc_rport_eq"); 1335 rport_event_queue = create_singlethread_workqueue("fc_rport_eq");
1336 if (!rport_event_queue) 1336 if (!rport_event_queue)
@@ -1339,7 +1339,7 @@ int fc_setup_rport()
1339} 1339}
1340EXPORT_SYMBOL(fc_setup_rport); 1340EXPORT_SYMBOL(fc_setup_rport);
1341 1341
1342void fc_destroy_rport() 1342void fc_destroy_rport(void)
1343{ 1343{
1344 destroy_workqueue(rport_event_queue); 1344 destroy_workqueue(rport_event_queue);
1345} 1345}