提交 f4aa8012 编写于 作者: Y YueHaibing 提交者: David S. Miller

cxgb4: Make t4_get_tp_e2c_map static

Fix sparse warning:

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:6216:14:
 warning: symbol 't4_get_tp_e2c_map' was not declared. Should it be static?
Reported-by: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 99513cfa
...@@ -6213,7 +6213,7 @@ unsigned int t4_get_mps_bg_map(struct adapter *adapter, int pidx) ...@@ -6213,7 +6213,7 @@ unsigned int t4_get_mps_bg_map(struct adapter *adapter, int pidx)
* @adapter: the adapter * @adapter: the adapter
* @pidx: the port index * @pidx: the port index
*/ */
unsigned int t4_get_tp_e2c_map(struct adapter *adapter, int pidx) static unsigned int t4_get_tp_e2c_map(struct adapter *adapter, int pidx)
{ {
unsigned int nports; unsigned int nports;
u32 param, val = 0; u32 param, val = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册