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>
This commit is contained in:
Sucheta Chakraborty 2013-09-03 05:07:37 -04:00 committed by David S. Miller
parent 80aa4e1096
commit 0996b7dfc3
1 changed files with 1 additions and 1 deletions

View File

@ -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;