aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe_transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fcoe/fcoe_transport.c')
-rw-r--r--drivers/scsi/fcoe/fcoe_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
index f3a5a53e8631..01adbe0ec53b 100644
--- a/drivers/scsi/fcoe/fcoe_transport.c
+++ b/drivers/scsi/fcoe/fcoe_transport.c
@@ -704,7 +704,7 @@ static struct net_device *fcoe_if_to_netdev(const char *buffer)
704static int libfcoe_device_notification(struct notifier_block *notifier, 704static int libfcoe_device_notification(struct notifier_block *notifier,
705 ulong event, void *ptr) 705 ulong event, void *ptr)
706{ 706{
707 struct net_device *netdev = ptr; 707 struct net_device *netdev = netdev_notifier_info_to_dev(ptr);
708 708
709 switch (event) { 709 switch (event) {
710 case NETDEV_UNREGISTER: 710 case NETDEV_UNREGISTER: