diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2014-09-19 15:46:51 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 15:01:07 -0400 |
commit | b502ae8d9cbbbf4ad822571537b9e17173d9c8b8 (patch) | |
tree | 4a457a94f9406ce09b67d3bde3cc06a9ad84d5f4 | |
parent | cecda693a969816bac5e470e1d9c9c0ef5567bca (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>
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_cmds.c | 4 |
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: /* set the EQ delay interval of an EQ to specified value * Uses async mcc */ -int __be_cmd_modify_eqd(struct be_adapter *adapter, struct be_set_eqd *set_eqd, - int num) +static int __be_cmd_modify_eqd(struct be_adapter *adapter, + struct be_set_eqd *set_eqd, int num) { struct be_mcc_wrb *wrb; struct be_cmd_req_modify_eq_delay *req; |