]> git.baikalelectronics.ru Git - kernel.git/commit
net: atheros: atl1c: Fix wrong function name in comments
authorYang Shen <shenyang39@huawei.com>
Mon, 17 May 2021 04:45:13 +0000 (12:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 21:12:38 +0000 (14:12 -0700)
commit1402f9cd92516cca2e7e1d27fefbeaea154e37de
treed8e998714023e1ae5fef715fc84e1c1d0e1ef11a
parentce84f3456c9a55f8cf202baea7edf531215cb7a5
net: atheros: atl1c: Fix wrong function name in comments

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

 drivers/net/ethernet/atheros/atl1c/atl1c_main.c:442: warning: expecting prototype for atl1c_set_mac(). Prototype was for atl1c_set_mac_addr() instead
 drivers/net/ethernet/atheros/atl1c/atl1c_main.c:969: warning: expecting prototype for atl1c_setup_mem_resources(). Prototype was for atl1c_setup_ring_resources() instead
 drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1375: warning: expecting prototype for atl1c_configure(). Prototype was for atl1c_configure_mac() instead

Cc: Chris Snook <chris.snook@gmail.com>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c