OSDN Git Service

net: calxeda: Fix wrong function name in comments
authorYang Shen <shenyang39@huawei.com>
Mon, 17 May 2021 04:45:19 +0000 (12:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 21:12:38 +0000 (14:12 -0700)
commit2e45d961a6a851897a4db15a4f6b2d9feb123c65
treef9d5920f90a1c9d9202e37fe886f74a3c5bfe506
parentc1167cee462d5a2d446a51189fdd3b0534cf5add
net: calxeda: Fix wrong function name in comments

Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/calxeda/xgmac.c:720: warning: expecting prototype for init_xgmac_dma_desc_rings(). Prototype was for xgmac_dma_desc_rings_init() instead
 drivers/net/ethernet/calxeda/xgmac.c:867: warning: expecting prototype for xgmac_tx(). Prototype was for xgmac_tx_complete() instead
 drivers/net/ethernet/calxeda/xgmac.c:1049: warning: expecting prototype for xgmac_release(). Prototype was for xgmac_stop() instead
 drivers/net/ethernet/calxeda/xgmac.c:1822: warning: expecting prototype for xgmac_dvr_remove(). Prototype was for xgmac_remove() instead

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/xgmac.c