diff options
author | Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> | 2013-09-03 09:07:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-04 04:27:27 (GMT) |
commit | 0996b7dfc3858a497f2de24c233a560e30fe4a14 (patch) | |
tree | f7be2c3636e7515f989aeb9cdeb5fb827ddcdb00 /drivers | |
parent | 80aa4e10963cc7d9b5dd5b2568ce28d74af20bf9 (diff) | |
download | linux-0996b7dfc3858a497f2de24c233a560e30fe4a14.tar.xz |
qlcnic: Fix sparse warning.
This patch fixes warning "warning: symbol 'qlcnic_set_dcb_ops' was
not declared. Should it be static?"
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c index 2e10e79..d62d5ce 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c @@ -248,7 +248,7 @@ static inline void __qlcnic_init_dcbnl_ops(struct qlcnic_adapter *adapter) adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; } -void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) +static void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) { if (qlcnic_82xx_check(adapter)) adapter->dcb->ops = &qlcnic_82xx_dcb_ops; |