aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorKalesh AP <kalesh.purayil@emulex.com>2014-09-19 06:16:51 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-22 15:01:07 -0400
commitb502ae8d9cbbbf4ad822571537b9e17173d9c8b8 (patch)
tree4a457a94f9406ce09b67d3bde3cc06a9ad84d5f4 /drivers/net/ethernet/emulex
parentcecda693a969816bac5e470e1d9c9c0ef5567bca (diff)
be2net: fix a sparse warning in be_cmd_modify_eqd()
This patch fixes a sparse warning about missing static declaration that was introduced by the following commit: fixes: 936767039cdf ("be2net: send a max of 8 EQs to be_cmd_modify_eqd() on Lancer") Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c
index cd213d967529..2874c0b52bcc 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.c
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.c
@@ -1783,8 +1783,8 @@ err:
1783/* set the EQ delay interval of an EQ to specified value 1783/* set the EQ delay interval of an EQ to specified value
1784 * Uses async mcc 1784 * Uses async mcc
1785 */ 1785 */
1786int __be_cmd_modify_eqd(struct be_adapter *adapter, struct be_set_eqd *set_eqd, 1786static int __be_cmd_modify_eqd(struct be_adapter *adapter,
1787 int num) 1787 struct be_set_eqd *set_eqd, int num)
1788{ 1788{
1789 struct be_mcc_wrb *wrb; 1789 struct be_mcc_wrb *wrb;
1790 struct be_cmd_req_modify_eq_delay *req; 1790 struct be_cmd_req_modify_eq_delay *req;