Commit 9f2e6fb6 authored by Yang Shen's avatar Yang Shen Committed by David S. Miller
Browse files

net: calxeda: Fix wrong function name in comments



Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:761: warning: expecting prototype for qlcnic_83xx_idc_cold_state(). Prototype was for qlcnic_83xx_idc_cold_state_handler() instead
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c:192: warning: expecting prototype for qlcnic_83xx_vnic_opmode(). Prototype was for qlcnic_83xx_config_vnic_opmode() instead

Cc: Shahed Shaikh <shshaikh@marvell.com>
Cc: Manish Chopra <manishc@marvell.com>
Signed-off-by: default avatarYang Shen <shenyang39@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a507b164
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -746,7 +746,7 @@ static int qlcnic_83xx_idc_unknown_state(struct qlcnic_adapter *adapter)
}

/**
 * qlcnic_83xx_idc_cold_state
 * qlcnic_83xx_idc_cold_state_handler
 *
 * @adapter: adapter structure
 *
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ static int qlcnic_83xx_init_non_privileged_vnic(struct qlcnic_adapter *adapter)
}

/**
 * qlcnic_83xx_vnic_opmode
 * qlcnic_83xx_config_vnic_opmode
 *
 * @adapter: adapter structure
 * Identify virtual NIC operational modes.